mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-11 00:32:27 +03:00
Only accept missing tkinter when building wheels on Windows (#8981)
This commit is contained in:
parent
7b163cc35d
commit
6bd55684e0
|
@ -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