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

Method test_files

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

Source from the content-addressed store, hash-verified

38 self.assertEqual(version('Example'), '21.12')
39
40 def test_files(self):
41 for file in files('example'):
42 path = str(file.dist.locate_file(file))
43 assert '.whl/' in path, path
44
45 def test_one_distribution(self):
46 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