diff --git a/testing/code/test_excinfo.py b/testing/code/test_excinfo.py index 4a864ef9a..3be525b89 100644 --- a/testing/code/test_excinfo.py +++ b/testing/code/test_excinfo.py @@ -1792,6 +1792,7 @@ def test_check_error_notes_failure( with pytest.raises(type(error), match=match): raise error + def test_notes_getattr_keyerror(): """Non-regression test for #11872.