From 298bc1d463d36156e0f9032983cdbe812cc6efc7 Mon Sep 17 00:00:00 2001 From: tonyfast Date: Sat, 25 May 2024 18:46:41 -0700 Subject: [PATCH] fix bad raise in test --- tests/test_a11y_baseline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_a11y_baseline.py b/tests/test_a11y_baseline.py index 14694bd4..d51a1e4f 100644 --- a/tests/test_a11y_baseline.py +++ b/tests/test_a11y_baseline.py @@ -31,6 +31,6 @@ def test_axe(axe, notebook, config, exporter_name, name): # accessibility. https://github.com/Iota-School/notebooks-for-all/issues/81 test.run({"exclude": [JUPYTER_WIDGETS, MATHJAX, SA11Y]}) try: - raise test.raises() + test.raises() except* AxeViolation["serious-color-contrast-enhanced"]: ...