Fixed IDLE tests after changing re error messages (issue #22578).

This commit is contained in:
Serhiy Storchaka 2014-11-10 14:18:03 +02:00
parent ad446d57a9
commit ce40e1a081

View 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