summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_config_key.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/idle_test/test_config_key.py')
-rw-r--r--Lib/idlelib/idle_test/test_config_key.py8
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):