mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 02:36:17 +03:00
Skip test_imagetk if tk raises a RuntimeError
This commit is contained in:
parent
e42d8b0890
commit
26e68ed321
|
@ -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