summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-11-13 07:13:33 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-11-13 07:13:33 (GMT)
commit9c2844927d15b2d3e21b28d62249dead02b5b597 (patch)
tree92b3e7027c11cc29aecaa95b3c98d43dec1671cf /Lib/idlelib/idle_test
parent2d56af7a94fe7ec0bdf3011652558ae1b889b4a8 (diff)
downloadcpython-9c2844927d15b2d3e21b28d62249dead02b5b597.zip
cpython-9c2844927d15b2d3e21b28d62249dead02b5b597.tar.gz
cpython-9c2844927d15b2d3e21b28d62249dead02b5b597.tar.bz2
bpo-4630: Add cursor no-blink option for IDLE (GH-16960)
This immediately toggles shell, editor, and output windows, but does not affect other input widgets.
Diffstat (limited to 'Lib/idlelib/idle_test')
-rw-r--r--Lib/idlelib/idle_test/test_configdialog.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/test_configdialog.py b/Lib/idlelib/idle_test/test_configdialog.py
index 37e8343..1f14ed1 100644
--- a/Lib/idlelib/idle_test/test_configdialog.py
+++ b/Lib/idlelib/idle_test/test_configdialog.py
@@ -1135,6 +1135,10 @@ class GenPageTest(unittest.TestCase):
d.win_width_int.insert(0, '11')
self.assertEqual(mainpage, {'EditorWindow': {'width': '11'}})
+ def test_cursor_blink(self):
+ self.page.cursor_blink_bool.invoke()
+ self.assertEqual(mainpage, {'EditorWindow': {'cursor-blink': 'False'}})
+
def test_autocomplete_wait(self):
self.page.auto_wait_int.delete(0, 'end')
self.page.auto_wait_int.insert(0, '11')