]> granicus.if.org Git - python/commitdiff
Fixed IDLE tests after changing re error messages (issue #22578).
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 10 Nov 2014 12:18:03 +0000 (14:18 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 10 Nov 2014 12:18:03 +0000 (14:18 +0200)
Lib/idlelib/idle_test/test_searchengine.py

index 129a5a35a68636587ca3dd027e94dfe0f8fe2ff1..2c104611b4c1f07f9604fd7436b8a34927b54bab 100644 (file)
@@ -178,7 +178,7 @@ class SearchEngineTest(unittest.TestCase):
         engine.revar.set(1)
         Equal(engine.getprog(), None)
         self.assertEqual(Mbox.showerror.message,
-                          'Error: nothing to repeat\nPattern: +')
+                         'Error: nothing to repeat at position 0\nPattern: +')
 
     def test_report_error(self):
         showerror = Mbox.showerror