Skip to content

Commit 6822b13

Browse files
[3.14] pythongh-140657: Don't rerun test_import single phase init test (pythonGH-140712) (python#140713)
pythongh-140657: Don't rerun test_import single phase init test (pythonGH-140712) test_basic_multiple_interpreters_main_no_reset() leaks memory: import_in_subinterp() is called with postcleanup=False. (cherry picked from commit c6d4c79) Co-authored-by: Victor Stinner <[email protected]>
1 parent 0260431 commit 6822b13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_import/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3160,6 +3160,7 @@ def test_check_state_first(self):
31603160
# Also, we test with a single-phase module that has global state,
31613161
# which is shared by all interpreters.
31623162

3163+
@no_rerun(reason="module state is not cleared (see gh-140657)")
31633164
@requires_subinterpreters
31643165
def test_basic_multiple_interpreters_main_no_reset(self):
31653166
# without resetting; already loaded in main interpreter

0 commit comments

Comments
 (0)