[3.6]bpo-29995: Adjust IDLE test for 3.7 re.escape change [GH-1007] (#2114)
This commit is contained in:
parent
f57e34b672
commit
a895f91a46
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue