MCPcopy Index your code
hub / github.com/ipython/ipython / assert_inode_equal

Method assert_inode_equal

tests/test_path.py:469–472  ·  view source on GitHub ↗
(self, a, b)

Source from the content-addressed store, hash-verified

467 ), "%r and %r do reference the same indoes" % (a, b)
468
469 def assert_inode_equal(self, a, b):
470 assert (
471 os.stat(a).st_ino == os.stat(b).st_ino
472 ), "%r and %r do not reference the same indoes" % (a, b)
473
474 def assert_content_equal(self, a, b):
475 with open(a, "rb") 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