[Python-checkins] [3.6] Fix duplicating words words. (GH-6296) (GH-6298)

Terry Jan Reedy webhook-mailer at python.org
Wed Mar 28 16:51:25 EDT 2018


https://github.com/python/cpython/commit/a10a709711df375303429fcfe052d156803ceb4d
commit: a10a709711df375303429fcfe052d156803ceb4d
branch: 3.6
author: Terry Jan Reedy <tjreedy at udel.edu>
committer: GitHub <noreply at github.com>
date: 2018-03-28T16:51:22-04:00
summary:

[3.6] Fix duplicating words words. (GH-6296) (GH-6298)

Backport idlelib duplications.
(cherry picked from commit bac2d5b)

files:
M Lib/idlelib/idle_test/test_editmenu.py
M Lib/idlelib/idle_test/test_text.py

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 @@
 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.



More information about the Python-checkins mailing list