MCPcopy Create free account
hub / github.com/ipython/ipython / assert_inode_equal

Method assert_inode_equal

IPython/utils/tests/test_path.py:437–439  ·  view source on GitHub ↗
(self, a, b)

Source from the content-addressed store, hash-verified

435 "%r and %r do reference the same indoes" %(a, b))
436
437 def assert_inode_equal(self, a, b):
438 nt.assert_equal(os.stat(a).st_ino, os.stat(b).st_ino,
439 "%r and %r do not reference the same indoes" %(a, b))
440
441 def assert_content_equal(self, a, b):
442 with open(a) as a_f:

Callers 4

test_link_successfulMethod · 0.95
test_link_into_dirMethod · 0.95
test_target_existsMethod · 0.95
test_link_twiceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected