From a8ca06ea4767c0bc0e10bff0ad66abd32a617bb9 Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 23 Aug 2024 13:55:58 +0200 Subject: [PATCH] tests: Don't fail Dial test if tkinter failed to import --- tests/tkwidgets/test_Dial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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