Skip to content

Commit

Permalink
skip test_interactive when ipywidgets is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Jul 26, 2023
1 parent 4f4ec17 commit 4e5a764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def test_mnmatrix_7(fig):

@pytest.mark.filterwarnings("ignore::DeprecationWarning")
def test_interactive():
import ipywidgets
ipywidgets = pytest.importorskip("ipywidgets")

def cost(a, b):
return a**2 + b**2
Expand Down

0 comments on commit 4e5a764

Please sign in to comment.