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):
7474@support .requires_subprocess ()
7575class TestCParser (unittest .TestCase ):
7676
77+ _has_run = False
78+
7779 @classmethod
7880 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+
7989 # When running under regtest, a separate tempdir is used
8090 # as the current directory and watched for left-overs.
8191 # Reusing that as the base for temporary directories
You can’t perform that action at this time.
0 commit comments