Skip to content

Commit a026f02

Browse files
[3.13] pythongh-140657: Don't rerun test_import single phase init test (pythonGH-140712) (python#140714)
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 bec053c commit a026f02

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
@@ -3179,6 +3179,7 @@ def test_check_state_first(self):
31793179
# Also, we test with a single-phase module that has global state,
31803180
# which is shared by all interpreters.
31813181

3182+
@no_rerun(reason="module state is not cleared (see gh-140657)")
31823183
@requires_subinterpreters
31833184
def test_basic_multiple_interpreters_main_no_reset(self):
31843185
# without resetting; already loaded in main interpreter

0 commit comments

Comments
 (0)