Issue #27922: IDLE tests no longer flash tk widgets.

This commit is contained in:
Terry Jan Reedy 2016-08-31 21:03:16 -04:00
parent c7bab7cbf5
commit 00b1e0f7ea
6 changed files with 13 additions and 5 deletions

View file

@ -16,6 +16,7 @@ class PasteTest(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.root = root = tk.Tk()
root.withdraw()
PyShell.fix_x11_paste(root)
cls.text = tk.Text(root)
cls.entry = tk.Entry(root)