Skip to content

Commit e5e2508

Browse files
committed
Skip test that triggers gh-127773 in refleak tests
1 parent 396edb1 commit e5e2508

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Lib/test/test_capi/test_type.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from test.support import import_helper
1+
from test.support import import_helper, Py_GIL_DISABLED, refleak_helper
22
import unittest
33

44
_testcapi = import_helper.import_module('_testcapi')
@@ -37,6 +37,9 @@ class D(A, C): pass
3737
# as well
3838
type_freeze(D)
3939

40+
@unittest.skipIf(
41+
Py_GIL_DISABLED and refleak_helper.hunting_for_refleaks(),
42+
"Specialization failure triggers gh-127773")
4043
def test_freeze_meta(self):
4144
"""test PyType_Freeze() with overridden MRO"""
4245
type_freeze = _testcapi.type_freeze

0 commit comments

Comments
 (0)