Skip to content

Commit 8a4f224

Browse files
committed
Add a comment.
1 parent 48920c6 commit 8a4f224

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_import/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2520,6 +2520,8 @@ def test_disallowed_reimport(self):
25202520

25212521
@requires_subinterpreters
25222522
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.
25232525
import _testsinglephase
25242526
filename = _testsinglephase.__file__
25252527
script = f"""if True:

0 commit comments

Comments
 (0)