[Python-checkins] cpython: Issue #24137, issue #27611: Restore tkinter after test_idle.

terry.reedy python-checkins at python.org
Mon Jul 25 00:32:07 EDT 2016


https://hg.python.org/cpython/rev/5c76f787e695
changeset:   102450:5c76f787e695
parent:      102448:db93af6080e7
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Mon Jul 25 00:31:54 2016 -0400
summary:
  Issue #24137, issue #27611: Restore tkinter after test_idle.

files:
  Lib/test/test_idle.py |  2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_idle.py b/Lib/test/test_idle.py
--- a/Lib/test/test_idle.py
+++ b/Lib/test/test_idle.py
@@ -19,3 +19,5 @@
 
 if __name__ == '__main__':
     unittest.main(verbosity=2, exit=False)
+    tk._support_default_root = 1
+    tk._default_root = None

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list