summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2018-03-28 20:51:22 (GMT)
committerGitHub <noreply@github.com>2018-03-28 20:51:22 (GMT)
commita10a709711df375303429fcfe052d156803ceb4d (patch)
tree9a775e2b617cb9348f04cb4ca2700f2d59e9d488
parentd4850dd549d2e46e6a2394de23015cea9376a219 (diff)
downloadcpython-a10a709711df375303429fcfe052d156803ceb4d.zip
cpython-a10a709711df375303429fcfe052d156803ceb4d.tar.gz
cpython-a10a709711df375303429fcfe052d156803ceb4d.tar.bz2
[3.6] Fix duplicating words words. (GH-6296) (GH-6298)
Backport idlelib duplications. (cherry picked from commit bac2d5b)
-rw-r--r--Lib/idlelib/idle_test/test_editmenu.py2
-rw-r--r--Lib/idlelib/idle_test/test_text.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_editmenu.py b/Lib/idlelib/idle_test/test_editmenu.py
index 17eb25c..1747847 100644
--- a/Lib/idlelib/idle_test/test_editmenu.py
+++ b/Lib/idlelib/idle_test/test_editmenu.py
@@ -1,6 +1,6 @@
'''Test (selected) IDLE Edit menu items.
-Edit modules have their own test files files
+Edit modules have their own test files
'''
from test.support import requires
requires('gui')
diff --git a/Lib/idlelib/idle_test/test_text.py b/Lib/idlelib/idle_test/test_text.py
index a5ba7bb..0f31179 100644
--- a/Lib/idlelib/idle_test/test_text.py
+++ b/Lib/idlelib/idle_test/test_text.py
@@ -9,7 +9,7 @@ from _tkinter import TclError
class TextTest(object):
"Define items common to both sets of tests."
- hw = 'hello\nworld' # Several tests insert this after after initialization.
+ hw = 'hello\nworld' # Several tests insert this after initialization.
hwn = hw+'\n' # \n present at initialization, before insert
# setUpClass defines cls.Text and maybe cls.root.