mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-09-25 05:26:57 +03:00
Only accept missing tkinter on Windows
This commit is contained in:
parent
5a04b9581b
commit
fd380e87cd
|
@ -11,6 +11,7 @@ from .helper import is_pypy
|
||||||
def test_wheel_modules() -> None:
|
def test_wheel_modules() -> None:
|
||||||
expected_modules = {"pil", "tkinter", "freetype2", "littlecms2", "webp"}
|
expected_modules = {"pil", "tkinter", "freetype2", "littlecms2", "webp"}
|
||||||
|
|
||||||
|
if sys.platform == "win32":
|
||||||
# tkinter is not available in cibuildwheel installed CPython on Windows
|
# tkinter is not available in cibuildwheel installed CPython on Windows
|
||||||
try:
|
try:
|
||||||
import tkinter
|
import tkinter
|
||||||
|
|
Loading…
Reference in New Issue
Block a user