Skip to content

Commit 41a91bd

Browse files
gh-122199: Skip test_slot_wrappers When Checking For Refleaks (gh-122200)
1 parent 7b7b90d commit 41a91bd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Lib/test/test_types.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Python test set -- part 6, built-in types
22

3-
from test.support import run_with_locale, is_apple_mobile, cpython_only, MISSING_C_DOCSTRINGS
3+
from test.support import (
4+
run_with_locale, is_apple_mobile, cpython_only, no_rerun,
5+
MISSING_C_DOCSTRINGS,
6+
)
47
import collections.abc
58
from collections import namedtuple, UserDict
69
import copy
@@ -2378,6 +2381,7 @@ def setUpClass(cls):
23782381
import test.support.interpreters.channels
23792382

23802383
@cpython_only
2384+
@no_rerun('channels (and queues) might have a refleak; see gh-122199')
23812385
@unittest.skipIf(is_apple_mobile, "Fails on iOS due to test ordering; see #121832.")
23822386
def test_slot_wrappers(self):
23832387
rch, sch = interpreters.channels.create()

0 commit comments

Comments
 (0)