Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
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
| classTestStaticTypes(unittest.TestCase): | |
| _has_run=False | |
| @classmethod | |
| defsetUpClass(cls): | |
| # The tests here don't play nice with our approach to refleak | |
| # detection, so we bail out in that case. | |
| ifcls._has_run: | |
| raiseunittest.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