From a820ed118600b988195078c1e5d621e472df3d52 Mon Sep 17 00:00:00 2001 From: dangotbanned <125183946+dangotbanned@users.noreply.github.com> Date: Mon, 10 Jun 2024 18:24:15 +0100 Subject: [PATCH] test: add ignore for `PT012` violation Not sure how this could be rewritten. https://docs.astral.sh/ruff/rules/pytest-raises-with-multiple-statements/ --- tests/vegalite/v5/test_display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vegalite/v5/test_display.py b/tests/vegalite/v5/test_display.py index b3c5660da..636d05402 100644 --- a/tests/vegalite/v5/test_display.py +++ b/tests/vegalite/v5/test_display.py @@ -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)