From a895f91a46c65a6076e8c6a28af0df1a07ed60a2 Mon Sep 17 00:00:00 2001 From: terryjreedy Date: Sun, 11 Jun 2017 13:50:51 -0400 Subject: [PATCH] [3.6]bpo-29995: Adjust IDLE test for 3.7 re.escape change [GH-1007] (#2114) --- Lib/idlelib/idle_test/test_replace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/idlelib/idle_test/test_replace.py b/Lib/idlelib/idle_test/test_replace.py index 9913ed2b7c8..2ecbd34168c 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