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 bbce059 commit e10012eCopy full SHA for e10012e
tests/testsuite.py
@@ -447,6 +447,11 @@ def test_xmlrunner_error_in_call(self):
447
testsuite_output = self.stream.getvalue()
448
self.assertIn('Exception: Massive fail', testsuite_output)
449
450
+ @unittest.skipIf(not hasattr(sys, 'getrefcount'),
451
+ 'skip - PyPy does not have sys.getrefcount.')
452
+ @unittest.skipIf((3, 0) <= sys.version_info < (3, 4),
453
+ 'skip - test not garbage collected. '
454
+ 'https://bugs.python.org/issue11798.')
455
def test_xmlrunner_hold_traceback(self):
456
suite = unittest.TestSuite()
457
suite.addTest(self.DummyRefCountTest('test_fail'))
0 commit comments