Skip to content

Commit a1cdcab

Browse files
committed
Ensure more things raise non-subclassable exceptions.
1 parent cfe4726 commit a1cdcab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

referencing/tests/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ def test_no_anchors(self, thing):
992992

993993
@pytest.mark.parametrize(
994994
"cls",
995-
[Registry, Resource, Specification],
995+
[Anchor, Registry, Resource, Specification, exceptions.PointerToNowhere],
996996
)
997997
def test_nonsubclassable(cls):
998998
with pytest.raises(Exception, match="(?i)subclassing"): # noqa: B017

0 commit comments

Comments
 (0)