mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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').
This commit is contained in:
parent
a361e89d5a
commit
33c7420e7d
7 changed files with 11 additions and 9 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue