summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2018-06-21 02:49:55 (GMT)
committerGitHub <noreply@github.com>2018-06-21 02:49:55 (GMT)
commit33c7420e7dd9d8e5b2aa15e98da6291bab6fcf33 (patch)
tree032fbff7d96359683fb006d5e0b68a0c2ab139f7 /Lib/idlelib/idle_test
parenta361e89d5ae3daefe9e8b8a7e889cd2ad8c45b77 (diff)
downloadcpython-33c7420e7dd9d8e5b2aa15e98da6291bab6fcf33.zip
cpython-33c7420e7dd9d8e5b2aa15e98da6291bab6fcf33.tar.gz
cpython-33c7420e7dd9d8e5b2aa15e98da6291bab6fcf33.tar.bz2
bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836)
Every other menudef key is the lowercase version of the corresponding main menu entry (in this case, 'Window').
Diffstat (limited to 'Lib/idlelib/idle_test')
-rw-r--r--Lib/idlelib/idle_test/test_mainmenu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/test_mainmenu.py b/Lib/idlelib/idle_test/test_mainmenu.py
index 0471128..7ec0368 100644
--- a/Lib/idlelib/idle_test/test_mainmenu.py
+++ b/Lib/idlelib/idle_test/test_mainmenu.py
@@ -10,7 +10,7 @@ class MainMenuTest(unittest.TestCase):
def test_menudefs(self):
actual = [item[0] for item in mainmenu.menudefs]
expect = ['file', 'edit', 'format', 'run', 'shell',
- 'debug', 'options', 'windows', 'help']
+ 'debug', 'options', 'window', 'help']
self.assertEqual(actual, expect)
def test_default_keydefs(self):