summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ttk_textonly.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_ttk_textonly.py')
-rw-r--r--Lib/test/test_ttk_textonly.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_ttk_textonly.py b/Lib/test/test_ttk_textonly.py
index 566fc9d..1cfeb15 100644
--- a/Lib/test/test_ttk_textonly.py
+++ b/Lib/test/test_ttk_textonly.py
@@ -4,6 +4,9 @@ from test import support
# Skip this test if _tkinter does not exist.
support.import_module('_tkinter')
+# Make sure tkinter._fix runs to set up the environment
+support.import_fresh_module('tkinter')
+
from tkinter.test import runtktests
def test_main():