Skip to content

Commit

Permalink
test: add ignore for PT012 violation
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned committed Jun 10, 2024
1 parent 27aab26 commit a820ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/vegalite/v5/test_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_check_renderer_options():
display(None)

# check that an error is appropriately raised if the test fails
with pytest.raises(AssertionError), check_render_options(foo="bar"):
with pytest.raises(AssertionError), check_render_options(foo="bar"): # noqa: PT012
from IPython.display import display

display(None)
Expand Down

0 comments on commit a820ed1

Please sign in to comment.