From: Terry Jan Reedy Date: Wed, 28 Mar 2018 20:51:22 +0000 (-0400) Subject: [3.6] Fix duplicating words words. (GH-6296) (GH-6298) X-Git-Tag: v3.6.6rc1~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a10a709711df375303429fcfe052d156803ceb4d;p=thirdparty%2FPython%2Fcpython.git [3.6] Fix duplicating words words. (GH-6296) (GH-6298) Backport idlelib duplications. (cherry picked from commit bac2d5b) --- diff --git a/Lib/idlelib/idle_test/test_editmenu.py b/Lib/idlelib/idle_test/test_editmenu.py index 17eb25c4b4c0..17478473a3d1 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 a5ba7bb21366..0f31179e04b2 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.