Skip to content

Commit c30b50c

Browse files
committed
Ignore the newly added specification property in the test suite cases.
For now we do nothing with this, maybe at some point there will be some way it's useful to use in Bowtie itself. Refs: json-schema-org/JSON-Schema-Test-Suite#726
1 parent 413fe6c commit c30b50c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bowtie/_suite.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ def cases_from(
178178
for case in json.loads(path.read_text()):
179179
for test in case["tests"]:
180180
test["instance"] = test.pop("data")
181+
case.pop("specification", None) # we do nothing with this now
181182
yield _core.TestCase.from_dict(
182183
dialect=dialect,
183184
registry=registry,

0 commit comments

Comments
 (0)