Feature or enhancement
Refs #119660
Right now this class re-implements @no_rerun decorator:
|
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.