Skip to content

Commit 7925f0b

Browse files
committed
skip test when expected failure
1 parent bbce059 commit 7925f0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/testsuite.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,9 @@ def test_xmlrunner_error_in_call(self):
447447
testsuite_output = self.stream.getvalue()
448448
self.assertIn('Exception: Massive fail', testsuite_output)
449449

450+
@unittest.skipIf((3, 0) <= sys.version_info <= (3, 3),
451+
'skip - test not garbage collected. '
452+
'https://bugs.python.org/issue11798.')
450453
def test_xmlrunner_hold_traceback(self):
451454
suite = unittest.TestSuite()
452455
suite.addTest(self.DummyRefCountTest('test_fail'))

0 commit comments

Comments
 (0)