Skip to content

bpo-33951: IDLE test_configdialog: call page.update() in setUpClass #7892

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Lib/idlelib/idle_test/test_configdialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def setUpClass(cls):
page = cls.page = dialog.fontpage
dialog.note.select(page)
page.set_samples = Func() # Mask instance method.
page.update()

@classmethod
def tearDownClass(cls):
Expand Down Expand Up @@ -210,6 +211,7 @@ class IndentTest(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.page = dialog.fontpage
cls.page.update()

def test_load_tab_cfg(self):
d = self.page
Expand Down Expand Up @@ -240,6 +242,7 @@ def setUpClass(cls):
page.paint_theme_sample = Func()
page.set_highlight_target = Func()
page.set_color_sample = Func()
page.update()

@classmethod
def tearDownClass(cls):
Expand Down Expand Up @@ -1085,6 +1088,7 @@ def setUpClass(cls):
dialog.note.select(page)
page.set = page.set_add_delete_state = Func()
page.upc = page.update_help_changes = Func()
page.update()

@classmethod
def tearDownClass(cls):
Expand Down