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

Function get_files

Lib/test/test_zipfile/test_core.py:45–52  ·  view source on GitHub ↗
(test)

Source from the content-addressed store, hash-verified

43 ('ziptest2dir/ziptest3dir/ziptest4dir/_ziptest3', '6y7u8i9o0p')]
44
45def get_files(test):
46 yield TESTFN2
47 with TemporaryFile() as f:
48 yield f
49 test.assertFalse(f.closed)
50 with io.BytesIO() as f:
51 yield f
52 test.assertFalse(f.closed)
53
54
55class LazyImportTest(unittest.TestCase):

Callers 15

test_basicMethod · 0.85
test_openMethod · 0.85
test_random_openMethod · 0.85
test_read1Method · 0.85
test_read1_10Method · 0.85
test_readline_readMethod · 0.85
test_readlineMethod · 0.85
test_readlinesMethod · 0.85
test_iterlinesMethod · 0.85
test_reprMethod · 0.85

Calls 2

TemporaryFileFunction · 0.90
assertFalseMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…