We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48920c6 commit 8a4f224Copy full SHA for 8a4f224
Lib/test/test_import/__init__.py
@@ -2520,6 +2520,8 @@ def test_disallowed_reimport(self):
2520
2521
@requires_subinterpreters
2522
def test_pyinit_function_raises_exception(self):
2523
+ # gh-144601: PyInit functions that raised exceptions would cause a
2524
+ # crash when imported from a subinterpreter.
2525
import _testsinglephase
2526
filename = _testsinglephase.__file__
2527
script = f"""if True:
0 commit comments