tests: remove unused IgnoreTest exception
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 03 Jun 2017 17:09:13 -0700
changeset 32933 f83b7376a300
parent 32932 240183a04429
child 32934 6123a5267119
tests: remove unused IgnoreTest exception AFAICT its last use was removed in d839e4820da7.
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."""