mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-09 16:10:48 +03:00
Merge pull request #6274 from radarhere/imagetk
Skip test_imagetk if tk raises a RuntimeError
This commit is contained in:
commit
3fa89f09eb
|
@ -26,6 +26,8 @@ def setup_module():
|
||||||
# setup tk
|
# setup tk
|
||||||
tk.Frame()
|
tk.Frame()
|
||||||
# root = tk.Tk()
|
# root = tk.Tk()
|
||||||
|
except RuntimeError as v:
|
||||||
|
pytest.skip(f"RuntimeError: {v}")
|
||||||
except tk.TclError as v:
|
except tk.TclError as v:
|
||||||
pytest.skip(f"TCL Error: {v}")
|
pytest.skip(f"TCL Error: {v}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user