diff --git a/Lib/idlelib/idle_test/test_configdialog.py b/Lib/idlelib/idle_test/test_configdialog.py index 1f14ed1f264..92891f81cd8 100644 --- a/Lib/idlelib/idle_test/test_configdialog.py +++ b/Lib/idlelib/idle_test/test_configdialog.py @@ -1139,6 +1139,11 @@ class GenPageTest(unittest.TestCase): self.page.cursor_blink_bool.invoke() self.assertEqual(mainpage, {'EditorWindow': {'cursor-blink': 'False'}}) + def test_strip_trailing_space_on_save(self): + self.page.strip_trailing_space_save_bool.invoke() + name = 'strip-trailing-whitespace-on-save' + self.assertEqual(mainpage, {'EditorWindow': {name: 'False'}}) + def test_autocomplete_wait(self): self.page.auto_wait_int.delete(0, 'end') self.page.auto_wait_int.insert(0, '11')