mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
tests: remove unused IgnoreTest exception
AFAICT its last use was removed in dac81132c652.
This commit is contained in:
parent
e7d240ea93
commit
52ea71bafe
@ -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."""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user