File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Lib/test/test_peg_generator Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,18 @@ def test_parse(self):
74
74
@support .requires_subprocess ()
75
75
class TestCParser (unittest .TestCase ):
76
76
77
+ _has_run = False
78
+
77
79
@classmethod
78
80
def setUpClass (cls ):
81
+ if cls ._has_run :
82
+ # Since gh-104798 (Use setuptools in peg-generator and reenable
83
+ # tests), this test case has been producing ref leaks. Initial
84
+ # debugging points to bug(s) in setuptools and/or importlib.
85
+ # See gh-105063 for more info.
86
+ raise unittest .SkipTest ("gh-105063: can not rerun because of ref. leaks" )
87
+ cls ._has_run = True
88
+
79
89
# When running under regtest, a separate tempdir is used
80
90
# as the current directory and watched for left-overs.
81
91
# Reusing that as the base for temporary directories
You can’t perform that action at this time.
0 commit comments