diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2022-01-22 21:38:26 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-22 21:38:26 -0500 |
| commit | d888ff5381594641126065e78dc9210dae4436a4 (patch) | |
| tree | e113f1ed59bfc905fd078ef92efbac7532929d38 /Lib/test/test_importlib/test_zip.py | |
| parent | 353e3b2820bed38da16140276786eef9ba33d3bd (diff) | |
| download | cpython-git-d888ff5381594641126065e78dc9210dae4436a4.tar.gz | |
bpo-46425: Partially revert "bpo-46425: fix direct invocation of `test_importlib` (GH-30682)" (GH-30799)
This reverts commit 57316c52bae5d6420f5067f3891ec328deb97305 for files pertaining to importlib.metadata and importlib.resources.
Diffstat (limited to 'Lib/test/test_importlib/test_zip.py')
| -rw-r--r-- | Lib/test/test_importlib/test_zip.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_importlib/test_zip.py b/Lib/test/test_importlib/test_zip.py index a9f5c68ac6..276f6288c9 100644 --- a/Lib/test/test_importlib/test_zip.py +++ b/Lib/test/test_importlib/test_zip.py @@ -1,7 +1,7 @@ import sys import unittest -from test.test_importlib import fixtures +from . import fixtures from importlib.metadata import ( PackageNotFoundError, distribution, @@ -60,6 +60,3 @@ class TestEgg(TestZip): def test_normalized_name(self): dist = distribution('example') assert dist._normalized_name == 'example' - -if __name__ == '__main__': - unittest.main() |
