[3.6]bpo-29995: Adjust IDLE test for 3.7 re.escape change [GH-1007] (#2114)

This commit is contained in:
terryjreedy 2017-06-11 13:50:51 -04:00 committed by GitHub
parent f57e34b672
commit a895f91a46
1 changed files with 2 additions and 2 deletions

View File

@ -221,8 +221,8 @@ class ReplaceDialogTest(unittest.TestCase):
self.assertIn('Invalid Replace Expression', showerror.message) self.assertIn('Invalid Replace Expression', showerror.message)
# test access method # test access method
self.engine.setcookedpat("\'") self.engine.setcookedpat("?")
equal(pv.get(), "\\'") equal(pv.get(), "\\?")
def test_replace_backwards(self): def test_replace_backwards(self):
equal = self.assertEqual equal = self.assertEqual