8000 gh-102251: add missing cleanups for `test_import` by sunmy2019 · Pull Request #104796 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-102251: add missing cleanups for test_import #104796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 12 commits into from
Closed
Prev Previous commit
Update Lib/test/test_import/__init__.py
  • Loading branch information
sunmy2019 authored Jun 23, 2023
commit 60b4921865d178c6f5d7f1075a9ec77fa049602c
2 changes: 1 addition & 7E62 ; 1 deletion Lib/test/test_import/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2566,7 +2566,7 @@ class SinglephaseInitTestsNoRerun(SinglephaseInitTestMixin, unittest.TestCase):
def setUpClass(cls):
super().setUpClass()
if cls._has_run:
raise unittest.SkipTest("requires single-phase init")
raise unittest.SkipTest("Tests do not support rerunning")
cls._has_run = True

@requires_subinterpreters
Expand Down
0