diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-04-13 21:06:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-13 21:06:43 +0300 |
commit | 5908300e4b0891fc5ab8bd24fba8fac72012eaa7 (patch) | |
tree | 78b1b58197c890909b9d153a7988105498d56659 /Lib/idlelib/idle_test/test_replace.py | |
parent | a6e395dffadf8c5124903c01ad69fefa36b1a935 (diff) | |
download | cpython-git-5908300e4b0891fc5ab8bd24fba8fac72012eaa7.tar.gz |
bpo-29995: re.escape() now escapes only special characters. (#1007)
Diffstat (limited to 'Lib/idlelib/idle_test/test_replace.py')
-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 9913ed2b7c..2ecbd34168 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 |