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

Method get_files

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

Source from the content-addressed store, hash-verified

3085
3086 @contextlib.contextmanager
3087 def get_files(self):
3088 with open(TESTFN, "rb") as src:
3089 with open(TESTFN2, "wb") as dst:
3090 yield (src, dst)
3091
3092 def assert_files_eq(self, src, dst):
3093 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