changeset 32933:f83b7376a300

tests: remove unused IgnoreTest exception AFAICT its last use was removed in d839e4820da7.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 03 Jun 2017 17:09:13 -0700
parents 240183a04429
children 6123a5267119
files tests/run-tests.py
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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."""