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

Method get_files

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

Source from the content-addressed store, hash-verified

3190
3191 @contextlib.contextmanager
3192 def get_files(self):
3193 with open(TESTFN, "rb") as src:
3194 with open(TESTFN2, "wb") as dst:
3195 yield (src, dst)
3196
3197 def zerocopy_fun(self, *args, **kwargs):
3198 raise NotImplementedError("must be implemented in subclass")

Callers 4

test_regular_copyMethod · 0.95
test_same_fileMethod · 0.95
test_filesystem_fullMethod · 0.95

Calls 1

openFunction · 0.50

Tested by

no test coverage detected