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

Method assert_content_equal

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

Source from the content-addressed store, hash-verified

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:
476 with open(b, "rb") as b_f:
477 assert a_f.read() == b_f.read()
478
479 @skip_win32
480 def test_link_successful(self):

Callers 2

test_no_linkMethod · 0.95
test_windowsMethod · 0.95

Calls 1

readMethod · 0.80

Tested by

no test coverage detected