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

Method test_zip_version

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

Source from the content-addressed store, hash-verified

24 self._fixture_on_path('example-21.12-py3-none-any.whl')
25
26 def test_zip_version(self):
27 self.assertEqual(version('example'), '21.12')
28
29 def test_zip_version_does_not_match(self):
30 with self.assertRaises(PackageNotFoundError):

Callers

nothing calls this directly

Calls 2

versionFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected