Skip to content

Commit 2703e9a

Browse files
Revert "pythongh-105063: Disable test_peg_generator.TestCParser bco. ref leaks (python#106024)"
This reverts commit 41ad4df.
1 parent dd45179 commit 2703e9a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Lib/test/test_peg_generator/test_c_parser.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,8 @@ def test_parse(self):
7272
@support.requires_subprocess()
7373
class TestCParser(unittest.TestCase):
7474

75-
_has_run = False
76-
7775
@classmethod
7876
def setUpClass(cls):
79-
if cls._has_run:
80-
# Since gh-104798 (Use setuptools in peg-generator and reenable
81-
# tests), this test case has been producing ref leaks. Initial
82-
# debugging points to bug(s) in setuptools and/or importlib.
83-
# See gh-105063 for more info.
84-
raise unittest.SkipTest("gh-105063: can not rerun because of ref. leaks")
85-
cls._has_run = True
86-
8777
# When running under regtest, a separate tempdir is used
8878
# as the current directory and watched for left-overs.
8979
# Reusing that as the base for temporary directories

0 commit comments

Comments
 (0)