From e8194cb3f8ade115154c5a3d690abb2121c848fd Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Tue, 23 Jul 2024 14:53:04 -0600 Subject: [PATCH] Skip test_slot_wrappers when checking for refleaks. --- 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 fb88daf9742fa9..a87bb275d296a0 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()