summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ttk_guionly.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_ttk_guionly.py')
-rw-r--r--Lib/test/test_ttk_guionly.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_ttk_guionly.py b/Lib/test/test_ttk_guionly.py
index b8c1a4c..3a3459b 100644
--- a/Lib/test/test_ttk_guionly.py
+++ b/Lib/test/test_ttk_guionly.py
@@ -5,6 +5,9 @@ from test import support
# Skip this test if _tkinter wasn't built.
support.import_module('_tkinter')
+# Make sure tkinter._fix runs to set up the environment
+support.import_fresh_module('tkinter')
+
# Skip test if tk cannot be initialized.
from tkinter.test.support import check_tk_availability
check_tk_availability()