]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-122199: Skip test_slot_wrappers When Checking For Refleaks (gh-122200)
authorEric Snow <ericsnowcurrently@gmail.com>
Tue, 23 Jul 2024 21:19:17 +0000 (15:19 -0600)
committerGitHub <noreply@github.com>
Tue, 23 Jul 2024 21:19:17 +0000 (21:19 +0000)
Lib/test/test_types.py

index fb88daf9742fa9afd32b92cd8ba9b19865e0abc3..a87bb275d296a009460ce19379f5450f4cea0c59 100644 (file)
@@ -1,6 +1,9 @@
 # Python test set -- part 6, built-in types
 
-from test.support import run_with_locale, is_apple_mobile, cpython_only, MISSING_C_DOCSTRINGS
+from test.support import (
+    run_with_locale, is_apple_mobile, cpython_only, no_rerun,
+    MISSING_C_DOCSTRINGS,
+)
 import collections.abc
 from collections import namedtuple, UserDict
 import copy
@@ -2378,6 +2381,7 @@ class SubinterpreterTests(unittest.TestCase):
         import test.support.interpreters.channels
 
     @cpython_only
+    @no_rerun('channels (and queues) might have a refleak; see gh-122199')
     @unittest.skipIf(is_apple_mobile, "Fails on iOS due to test ordering; see #121832.")
     def test_slot_wrappers(self):
         rch, sch = interpreters.channels.create()