From 7f83db0d34574e33cea7de4d999629e03ed2dcbb Mon Sep 17 00:00:00 2001 From: tonyfast Date: Sat, 25 May 2024 15:57:48 -0700 Subject: [PATCH] rm raise expr --- tests/test_a11y_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_a11y_settings.py b/tests/test_a11y_settings.py index d2418158..8164a3de 100644 --- a/tests/test_a11y_settings.py +++ b/tests/test_a11y_settings.py @@ -36,7 +36,7 @@ def test_dialogs(lorenz, dialog): lorenz.page.click(dialog) test = lorenz.run() try: - raise test.raises() + test.raises() except* AxeViolation["serious-color-contrast-enhanced"]: ... except* AxeViolation["serious-target-size"]: