MCPcopy Create free account
hub / github.com/python/cpython / setUp

Method setUp

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

Source from the content-addressed store, hash-verified

20
21class TestZip(fixtures.ZipFixtures, unittest.TestCase):
22 def setUp(self):
23 super().setUp()
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')

Callers 1

setUpMethod · 0.45

Calls 2

superClass · 0.85
_fixture_on_pathMethod · 0.80

Tested by

no test coverage detected