diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-06-21 04:35:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-21 04:35:47 (GMT) |
commit | e1f0dceb266ae66a3b8ea9d087266f3960c59b2d (patch) | |
tree | 7025f38c82753bd2dacc7b104b5d555ab4969e00 /Lib/idlelib/idle_test/test_mainmenu.py | |
parent | f9243a22da6a609143e27abf3ca37a4f63d5aae9 (diff) | |
download | cpython-e1f0dceb266ae66a3b8ea9d087266f3960c59b2d.zip cpython-e1f0dceb266ae66a3b8ea9d087266f3960c59b2d.tar.gz cpython-e1f0dceb266ae66a3b8ea9d087266f3960c59b2d.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').
(cherry picked from commit 33c7420e7dd9d8e5b2aa15e98da6291bab6fcf33)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/idle_test/test_mainmenu.py')
-rw-r--r-- | Lib/idlelib/idle_test/test_mainmenu.py | 2 |
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): |