From: Eric Snow Date: Tue, 23 Jul 2024 21:19:17 +0000 (-0600) Subject: gh-122199: Skip test_slot_wrappers When Checking For Refleaks (gh-122200) X-Git-Tag: v3.14.0a1~1009 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=41a91bd67f86c922f350894a797738038536e1c5;p=thirdparty%2FPython%2Fcpython.git gh-122199: Skip test_slot_wrappers When Checking For Refleaks (gh-122200) --- diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py index fb88daf9742f..a87bb275d296 100644 --- a/Lib/test/test_types.py +++ b/Lib/test/test_types.py @@ -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()