Feature or enhancement
Refs #119660
Right now this class re-implements @no_rerun decorator:
| 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.
Feature or enhancement
Refs #119660
Right now this class re-implements
@no_rerundecorator:cpython/Lib/test/test_capi/test_misc.py
Lines 2832 to 2842 in 2da0dc0
It is worth fixing.
I will send a PR.