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.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_ttk_textonly.py b/Lib/test/test_ttk_textonly.py
index 131e420..b99625a 100644
--- a/Lib/test/test_ttk_textonly.py
+++ b/Lib/test/test_ttk_textonly.py
@@ -1,6 +1,10 @@
import os
import sys
from test import support
+
+# Skip this test if _tkinter does not exist.
+support.import_module('_tkinter')
+
from tkinter.test import runtktests
def test_main():