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

Method assert_content_equal

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

Source from the content-addressed store, hash-verified

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:
443 with open(b) as b_f:
444 nt.assert_equal(a_f.read(), b_f.read())
445
446 @skip_win32
447 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