-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Open
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Refs #119660
Right now this class re-implements @no_rerun decorator:
cpython/Lib/test/test_capi/test_misc.py
Lines 2832 to 2842 in 2da0dc0
| class TestStaticTypes(unittest.TestCase): | |
| _has_run = False | |
| @classmethod | |
| def setUpClass(cls): | |
| # The tests here don't play nice with our approach to refleak | |
| # detection, so we bail out in that case. | |
| if cls._has_run: | |
| raise unittest.SkipTest('these tests do not support re-running') | |
| cls._has_run = True |
It is worth fixing.
I will send a PR.
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-featureA feature request or enhancementA feature request or enhancement