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"]: ...