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

Method test_files

Lib/test/test_importlib/metadata/test_zip.py:46–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44 self.assertEqual(version('Example'), '21.12')
45
46 def test_files(self):
47 for file in files('example'):
48 path = str(file.dist.locate_file(file))
49 assert '.whl/' in path, path
50
51 def test_one_distribution(self):
52 dists = list(distributions(path=sys.path[:1]))

Callers

nothing calls this directly

Calls 3

filesFunction · 0.90
strFunction · 0.85
locate_fileMethod · 0.45

Tested by

no test coverage detected