diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-11-13 07:36:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-13 07:36:42 (GMT) |
commit | a67bc10e42fa9a077eb4d9d7bd767c3efddbc366 (patch) | |
tree | a991ce5b7443378b119d89fddceb00fac7a1f8ec /Lib/idlelib/idle_test | |
parent | 5a3b8d877d6b07f767b51c02dc2d42e6c1a8c41c (diff) | |
download | cpython-a67bc10e42fa9a077eb4d9d7bd767c3efddbc366.zip cpython-a67bc10e42fa9a077eb4d9d7bd767c3efddbc366.tar.gz cpython-a67bc10e42fa9a077eb4d9d7bd767c3efddbc366.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.
(cherry picked from commit 9c2844927d15b2d3e21b28d62249dead02b5b597)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Diffstat (limited to 'Lib/idlelib/idle_test')
-rw-r--r-- | Lib/idlelib/idle_test/test_configdialog.py | 4 |
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') |