diff options
author | Cheryl Sabella <cheryl.sabella@gmail.com> | 2018-12-30 19:48:51 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2018-12-30 19:48:51 (GMT) |
commit | 4bd79c38efe3cc0a3c724605cf9474e2d1b6b6e2 (patch) | |
tree | 74644543ab94e0091a2c26d257e768898fd61dc8 /Lib/idlelib/idle_test | |
parent | 3f5fc70c6213008243e7d605f7d8a2d8f94cf919 (diff) | |
download | cpython-4bd79c38efe3cc0a3c724605cf9474e2d1b6b6e2.zip cpython-4bd79c38efe3cc0a3c724605cf9474e2d1b6b6e2.tar.gz cpython-4bd79c38efe3cc0a3c724605cf9474e2d1b6b6e2.tar.bz2 |
bpo-35598: IDLE: Switch config_key dialog to ttk widgets (GH-11365)
Diffstat (limited to 'Lib/idlelib/idle_test')
-rw-r--r-- | Lib/idlelib/idle_test/test_config_key.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/idlelib/idle_test/test_config_key.py b/Lib/idlelib/idle_test/test_config_key.py index 9412b22..8261f8d 100644 --- a/Lib/idlelib/idle_test/test_config_key.py +++ b/Lib/idlelib/idle_test/test_config_key.py @@ -196,14 +196,14 @@ class KeySelectionTest(unittest.TestCase): gm = dialog.get_modifiers eq = self.assertEqual - # Modifiers are set by selecting/deselecting the checkbutton. - dialog.modifier_checkbuttons['foo'].select() + # Modifiers are set on/off by invoking the checkbutton. + dialog.modifier_checkbuttons['foo'].invoke() eq(gm(), ['foo']) - dialog.modifier_checkbuttons['BAZ'].select() + dialog.modifier_checkbuttons['BAZ'].invoke() eq(gm(), ['foo', 'BAZ']) - dialog.modifier_checkbuttons['foo'].deselect() + dialog.modifier_checkbuttons['foo'].invoke() eq(gm(), ['BAZ']) def test_translate_key(self): |