Skip to content

Commit ccf1a9f

Browse files
committed
Technically Anchors return iterables.
1 parent bd6bde6 commit ccf1a9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

referencing/tests/test_jsonschema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_id_of_bool(specification, value):
9090
)
9191
@pytest.mark.parametrize("value", [True, False])
9292
def test_anchors_in_bool(specification, value):
93-
assert specification.anchors_in(value) == []
93+
assert list(specification.anchors_in(value)) == []
9494

9595

9696
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)