[Python-checkins] cpython: Fixed IDLE tests after changing re error messages (issue #22578).

serhiy.storchaka python-checkins at python.org
Mon Nov 10 13:36:00 CET 2014


https://hg.python.org/cpython/rev/07f082b200a7
changeset:   93462:07f082b200a7
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Mon Nov 10 14:18:03 2014 +0200
summary:
  Fixed IDLE tests after changing re error messages (issue #22578).

files:
  Lib/idlelib/idle_test/test_searchengine.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/idlelib/idle_test/test_searchengine.py b/Lib/idlelib/idle_test/test_searchengine.py
--- a/Lib/idlelib/idle_test/test_searchengine.py
+++ b/Lib/idlelib/idle_test/test_searchengine.py
@@ -178,7 +178,7 @@
         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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list