# HG changeset patch # User Gregory Szorc # Date 1496534953 25200 # Node ID f83b7376a300faa301d39c4ed30c02258f41af66 # Parent 240183a0442918f80688f2357059d7fb2b09f75b tests: remove unused IgnoreTest exception AFAICT its last use was removed in d839e4820da7. diff -r 240183a04429 -r f83b7376a300 tests/run-tests.py --- a/tests/run-tests.py Sat Jun 03 17:04:42 2017 -0700 +++ b/tests/run-tests.py Sat Jun 03 17:09:13 2017 -0700 @@ -717,11 +717,6 @@ # 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 @@ 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."""