diff options
author | terryjreedy <tjreedy@udel.edu> | 2017-06-11 17:50:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-11 17:50:51 (GMT) |
commit | a895f91a46c65a6076e8c6a28af0df1a07ed60a2 (patch) | |
tree | 09e9ddb4dd306c9314c2181d1eae1c29448dcfc1 | |
parent | f57e34b6725810576a45f015f96de35b723b915f (diff) | |
download | cpython-a895f91a46c65a6076e8c6a28af0df1a07ed60a2.zip cpython-a895f91a46c65a6076e8c6a28af0df1a07ed60a2.tar.gz cpython-a895f91a46c65a6076e8c6a28af0df1a07ed60a2.tar.bz2 |
[3.6]bpo-29995: Adjust IDLE test for 3.7 re.escape change [GH-1007] (#2114)
-rw-r--r-- | Lib/idlelib/idle_test/test_replace.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_replace.py b/Lib/idlelib/idle_test/test_replace.py index 9913ed2..2ecbd34 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 |