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

Method test_one_distribution

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

Source from the content-addressed store, hash-verified

49 assert '.whl/' in path, path
50
51 def test_one_distribution(self):
52 dists = list(distributions(path=sys.path[:1]))
53 assert len(dists) == 1
54
55 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
56 @requires_fork()

Callers

nothing calls this directly

Calls 2

distributionsFunction · 0.90
listClass · 0.85

Tested by

no test coverage detected