We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0adf793 commit b7ea179Copy full SHA for b7ea179
stackless_testsuite/util.py
@@ -262,11 +262,11 @@ def __strip_attributes(self):
262
del self.__dict__[k]
263
if sys.hexversion >= 0x3040000:
264
def _addSkip(self, result, test_case, reason):
265
- self.__strip_attributes()
+ self.addCleanup(self.__strip_attributes)
266
super(StacklessTestCase, self)._addSkip(result, test_case, reason)
267
else:
268
def _addSkip(self, result, reason):
269
270
super(StacklessTestCase, self)._addSkip(result, reason)
271
272
_tc = StacklessTestCase(methodName='run')
0 commit comments