diff --git a/tests/tkwidgets/test_Dial.py b/tests/tkwidgets/test_Dial.py index eda8d0591b..3f74e216d8 100644 --- a/tests/tkwidgets/test_Dial.py +++ b/tests/tkwidgets/test_Dial.py @@ -1,5 +1,5 @@ -import tkinter as tk import pytest +tk = pytest.importorskip('tkinter') pytest.importorskip('Pmw') from direct.tkwidgets.Dial import Dial