Skip to content

Commit

Permalink
Remove skipping of tests with CustomTkinter on Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Oct 17, 2023
1 parent d794561 commit 51f82d6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/test_mixins.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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):
Expand Down

0 comments on commit 51f82d6

Please sign in to comment.