diff --git a/tests/run-tests.py b/tests/run-tests.py
index 588ebd47cd87a794f15c0fdf4ece926c41bc7f63_dGVzdHMvcnVuLXRlc3RzLnB5..e9faeb21f954dff16e6adbf8611052d9699b2a32_dGVzdHMvcnVuLXRlc3RzLnB5 100755
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -466,7 +466,7 @@
                 raise SkipTest('blacklisted')
 
             if options.retest and not os.path.exists('%s.err' % self.name):
-                return self.ignore('not retesting')
+                raise IgnoreTest('not retesting')
 
             if options.keywords:
                 f = open(self.name)
@@ -476,7 +476,7 @@
                     if k in t:
                         break
                     else:
-                        return self.ignore("doesn't match keyword")
+                        raise IgnoreTest("doesn't match keyword")
 
         if not os.path.basename(self.name.lower()).startswith('test-'):
             raise SkipTest('not a test file')
@@ -687,9 +687,6 @@
             # Failed is denoted by AssertionError (by default at least).
             raise AssertionError(msg)
 
-    def ignore(self, msg):
-        raise IgnoreTest(msg)
-
 class PythonTest(Test):
     """A Python-based test."""
     def _run(self, replacements, env):