MCPcopy Index your code
hub / github.com/RustPython/RustPython / assert_files_eq

Method assert_files_eq

Lib/test/test_shutil.py:3092–3095  ·  view source on GitHub ↗
(self, src, dst)

Source from the content-addressed store, hash-verified

3090 yield (src, dst)
3091
3092 def assert_files_eq(self, src, dst):
3093 with open(src, 'rb') as fsrc:
3094 with open(dst, 'rb') as fdst:
3095 self.assertEqual(fsrc.read(), fdst.read())
3096
3097 def test_content(self):
3098 with self.get_files() as (src, dst):

Callers 2

test_contentMethod · 0.95
test_win_implMethod · 0.95

Calls 3

openFunction · 0.50
assertEqualMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected