tests: remove unused IgnoreTest exception

AFAICT its last use was removed in dac81132c652.
This commit is contained in:
Gregory Szorc 2017-06-03 17:09:13 -07:00
parent e7d240ea93
commit 52ea71bafe

View File

@ -717,11 +717,6 @@ class Test(unittest.TestCase):
# test we "ran", but we want to exclude skipped tests
# from those we count towards those run.
result.testsRun -= 1
except IgnoreTest as e:
result.addIgnore(self, str(e))
# As with skips, ignores also should be excluded from
# the number of tests executed.
result.testsRun -= 1
except WarnTest as e:
result.addWarn(self, str(e))
except ReportedTest as e:
@ -1486,9 +1481,6 @@ class TTest(Test):
iolock = threading.RLock()
class IgnoreTest(Exception):
"""Raised to indicate that a test is to be ignored."""
class WarnTest(Exception):
"""Raised to indicate that a test warned."""