From 51f82d649f646a5490d34281f9a5bf57250e2d30 Mon Sep 17 00:00:00 2001 From: insolor Date: Tue, 17 Oct 2023 20:15:38 +0300 Subject: [PATCH] Remove skipping of tests with CustomTkinter on Python 3.12 --- tests/test_mixins.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/test_mixins.py b/tests/test_mixins.py index 3cb92ee..ebfe125 100644 --- a/tests/test_mixins.py +++ b/tests/test_mixins.py @@ -1,11 +1,6 @@ import tkinter -try: - import customtkinter -except ModuleNotFoundError: - # Catch `ModuleNotFoundError: No module named 'distutils'` error in customtkinter - customtkinter = None - +import customtkinter import pytest from async_tkinter_loop.mixins import AsyncCTk, AsyncTk @@ -23,7 +18,6 @@ class App(tkinter.Tk, AsyncTk): app.async_mainloop() -@pytest.mark.skipif(customtkinter is None, reason="Skipped because customtkinter is incompatible with Python 3.12") @pytest.mark.timeout(TIMEOUT) def test_destroy_ctk(): class App(customtkinter.CTk, AsyncCTk):