From: terryjreedy Date: Sun, 11 Jun 2017 17:50:51 +0000 (-0400) Subject: [3.6]bpo-29995: Adjust IDLE test for 3.7 re.escape change [GH-1007] (#2114) X-Git-Tag: v3.6.2rc1~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a895f91a46c65a6076e8c6a28af0df1a07ed60a2;p=thirdparty%2FPython%2Fcpython.git [3.6]bpo-29995: Adjust IDLE test for 3.7 re.escape change [GH-1007] (#2114) --- diff --git a/Lib/idlelib/idle_test/test_replace.py b/Lib/idlelib/idle_test/test_replace.py index 9913ed2b7c81..2ecbd34168c5 100644 --- a/Lib/idlelib/idle_test/test_replace.py +++ b/Lib/idlelib/idle_test/test_replace.py @@ -221,8 +221,8 @@ class ReplaceDialogTest(unittest.TestCase): self.assertIn('Invalid Replace Expression', showerror.message) # test access method - self.engine.setcookedpat("\'") - equal(pv.get(), "\\'") + self.engine.setcookedpat("?") + equal(pv.get(), "\\?") def test_replace_backwards(self): equal = self.assertEqual