Skip to content

Commit

Permalink
Merge pull request #6274 from radarhere/imagetk
Browse files Browse the repository at this point in the history
Skip test_imagetk if tk raises a RuntimeError
  • Loading branch information
hugovk committed May 5, 2022
2 parents 45f862e + 26e68ed commit 3fa89f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/test_imagetk.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def setup_module():
# setup tk
tk.Frame()
# root = tk.Tk()
except RuntimeError as v:
pytest.skip(f"RuntimeError: {v}")
except tk.TclError as v:
pytest.skip(f"TCL Error: {v}")

Expand Down

0 comments on commit 3fa89f0

Please sign in to comment.