Skip to content

Commit

Permalink
fix: assertion in plotly_manager causing ruff complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyPlanden committed Jul 2, 2024
1 parent afadac1 commit 02e18bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/plotting/test_plotly_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_cancel_installation(mocker, uninstall_plotly_if_installed):
with pytest.raises(SystemExit) as pytest_wrapped_e:
PlotlyManager().prompt_for_plotly_installation()

assert pytest_wrapped_e.type == SystemExit
assert pytest_wrapped_e.type is SystemExit
assert pytest_wrapped_e.value.code == 1
assert not is_package_installed("plotly")

Expand Down

0 comments on commit 02e18bf

Please sign in to comment.