Skip to content

Commit 8637c1f

Browse files
committed
Filter rather than skip.
These aren't temporary, so let's not clutter the test output.
1 parent 497a32a commit 8637c1f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

jsonschema/tests/test_jsonschema_test_suite.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,12 @@ def narrow_unicode_build(test): # pragma: no cover
174174

175175

176176
TestDraft3LegacyTypeCheck = DRAFT3.to_unittest_testcase(
177-
DRAFT3.tests_of(name="type"),
178-
name="TestDraft3LegacyTypeCheck",
179-
skip=skip_tests_containing_descriptions(
180-
type={
181-
"any": "Interestingly this couldn't really be done w/the old API.",
182-
},
177+
# Interestingly the any part couldn't really be done w/the old API.
178+
(
179+
(test for test in each if test.schema != {"type": "any"})
180+
for each in DRAFT3.tests_of(name="type")
183181
),
182+
name="TestDraft3LegacyTypeCheck",
184183
Validator=create(
185184
meta_schema=Draft3Validator.META_SCHEMA,
186185
validators=Draft3Validator.VALIDATORS,

0 commit comments

Comments
 (0)