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

Method get_files

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

Source from the content-addressed store, hash-verified

3111
3112 @contextlib.contextmanager
3113 def get_files(self):
3114 with open(TESTFN, "rb") as src:
3115 with open(TESTFN2, "wb") as dst:
3116 yield (src, dst)
3117
3118 def assert_files_eq(self, src, dst):
3119 with open(src, 'rb') as fsrc:

Callers 8

test_contentMethod · 0.95
test_file_not_closedMethod · 0.95
test_file_offsetMethod · 0.95
test_cant_get_sizeMethod · 0.45
test_small_chunksMethod · 0.45
test_big_chunkMethod · 0.45

Calls 1

openFunction · 0.50

Tested by

no test coverage detected