mirror of
https://github.com/python/cpython.git
synced 2025-11-28 14:11:15 +00:00
Fixed IDLE tests after changing re error messages (issue #22578).
This commit is contained in:
parent
ad446d57a9
commit
ce40e1a081
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ class SearchEngineTest(unittest.TestCase):
|
||||||
engine.revar.set(1)
|
engine.revar.set(1)
|
||||||
Equal(engine.getprog(), None)
|
Equal(engine.getprog(), None)
|
||||||
self.assertEqual(Mbox.showerror.message,
|
self.assertEqual(Mbox.showerror.message,
|
||||||
'Error: nothing to repeat\nPattern: +')
|
'Error: nothing to repeat at position 0\nPattern: +')
|
||||||
|
|
||||||
def test_report_error(self):
|
def test_report_error(self):
|
||||||
showerror = Mbox.showerror
|
showerror = Mbox.showerror
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue