From f3210d3c10b88c83b007c1a38b8fc2481ad90400 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Tue, 23 Jul 2024 15:19:17 -0600 Subject: [PATCH] gh-122199: Skip test_slot_wrappers When Checking For Refleaks (gh-122200) --- Lib/test/test_types.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py index fb88daf9742fa9a..a87bb275d296a00 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 @@ def setUpClass(cls): 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()