MCPcopy Index your code
hub / github.com/python/cpython / test_content

Method test_content

Lib/test/test_shutil.py:3123–3126  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3121 self.assertEqual(fsrc.read(), fdst.read())
3122
3123 def test_content(self):
3124 with self.get_files() as (src, dst):
3125 shutil.copyfileobj(src, dst)
3126 self.assert_files_eq(TESTFN, TESTFN2)
3127
3128 def test_file_not_closed(self):
3129 with self.get_files() as (src, dst):

Callers

nothing calls this directly

Calls 2

get_filesMethod · 0.95
assert_files_eqMethod · 0.95

Tested by

no test coverage detected