]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.6] Fix duplicating words words. (GH-6296) (GH-6298)
authorTerry Jan Reedy <tjreedy@udel.edu>
Wed, 28 Mar 2018 20:51:22 +0000 (16:51 -0400)
committerGitHub <noreply@github.com>
Wed, 28 Mar 2018 20:51:22 +0000 (16:51 -0400)
Backport idlelib duplications.
(cherry picked from commit bac2d5b)

Lib/idlelib/idle_test/test_editmenu.py
Lib/idlelib/idle_test/test_text.py

index 17eb25c4b4c0d99c4271de72ab6f3d21704c5e36..17478473a3d1b2711fd8e1ffa7f6076c540c4386 100644 (file)
@@ -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')
index a5ba7bb2136654e59cb0410d58d71cdadba23440..0f31179e04b28f239fe1729ed5b6acc6cb5772a6 100644 (file)
@@ -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.