We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8c162e commit 41ad4dfCopy full SHA for 41ad4df
Lib/test/test_peg_generator/test_c_parser.py
@@ -74,8 +74,18 @@ def test_parse(self):
74
@support.requires_subprocess()
75
class TestCParser(unittest.TestCase):
76
77
+ _has_run = False
78
+
79
@classmethod
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
89
# When running under regtest, a separate tempdir is used
90
# as the current directory and watched for left-overs.
91
# Reusing that as the base for temporary directories
0 commit comments