Skip to content

Commit 76a6c52

Browse files
committed
Skip the failing #575 tests until it's fixed.
1 parent a39ed5a commit 76a6c52

File tree

1 file changed

+100
-0
lines changed

1 file changed

+100
-0
lines changed

jsonschema/tests/test_jsonschema_test_suite.py

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,26 @@ def bug(issue=None):
101101
skip=lambda test: (
102102
narrow_unicode_build(test)
103103
or missing_format(draft4_format_checker)(test)
104+
or skip(
105+
message=bug(575),
106+
subject="enum",
107+
case_description="enum with true does not match 1",
108+
)(test)
109+
or skip(
110+
message=bug(575),
111+
subject="enum",
112+
case_description="enum with false does not match 0",
113+
)(test)
114+
or skip(
115+
message=bug(575),
116+
subject="enum",
117+
case_description="enum with 1 does not match true",
118+
)(test)
119+
or skip(
120+
message=bug(575),
121+
subject="enum",
122+
case_description="enum with 0 does not match false",
123+
)(test)
104124
or skip(
105125
message=bug(),
106126
subject="ref",
@@ -154,6 +174,46 @@ def bug(issue=None):
154174
skip=lambda test: (
155175
narrow_unicode_build(test)
156176
or missing_format(draft6_format_checker)(test)
177+
or skip(
178+
message=bug(575),
179+
subject="const",
180+
case_description="const with true does not match 1",
181+
)(test)
182+
or skip(
183+
message=bug(575),
184+
subject="const",
185+
case_description="const with false does not match 0",
186+
)(test)
187+
or skip(
188+
message=bug(575),
189+
subject="const",
190+
case_description="const with 1 does not match true",
191+
)(test)
192+
or skip(
193+
message=bug(575),
194+
subject="const",
195+
case_description="const with 0 does not match false",
196+
)(test)
197+
or skip(
198+
message=bug(575),
199+
subject="enum",
200+
case_description="enum with true does not match 1",
201+
)(test)
202+
or skip(
203+
message=bug(575),
204+
subject="enum",
205+
case_description="enum with false does not match 0",
206+
)(test)
207+
or skip(
208+
message=bug(575),
209+
subject="enum",
210+
case_description="enum with 1 does not match true",
211+
)(test)
212+
or skip(
213+
message=bug(575),
214+
subject="enum",
215+
case_description="enum with 0 does not match false",
216+
)(test)
157217
or skip(
158218
message=bug(),
159219
subject="ref",
@@ -207,6 +267,46 @@ def bug(issue=None):
207267
skip=lambda test: (
208268
narrow_unicode_build(test)
209269
or missing_format(draft7_format_checker)(test)
270+
or skip(
271+
message=bug(575),
272+
subject="const",
273+
case_description="const with true does not match 1",
274+
)(test)
275+
or skip(
276+
message=bug(575),
277+
subject="const",
278+
case_description="const with false does not match 0",
279+
)(test)
280+
or skip(
281+
message=bug(575),
282+
subject="const",
283+
case_description="const with 1 does not match true",
284+
)(test)
285+
or skip(
286+
message=bug(575),
287+
subject="const",
288+
case_description="const with 0 does not match false",
289+
)(test)
290+
or skip(
291+
message=bug(575),
292+
subject="enum",
293+
case_description="enum with true does not match 1",
294+
)(test)
295+
or skip(
296+
message=bug(575),
297+
subject="enum",
298+
case_description="enum with false does not match 0",
299+
)(test)
300+
or skip(
301+
message=bug(575),
302+
subject="enum",
303+
case_description="enum with 1 does not match true",
304+
)(test)
305+
or skip(
306+
message=bug(575),
307+
subject="enum",
308+
case_description="enum with 0 does not match false",
309+
)(test)
210310
or skip(
211311
message=bug(),
212312
subject="ref",

0 commit comments

Comments
 (0)