@@ -161,6 +161,7 @@ def missing_date_fromisoformat(test):
161
161
DRAFT4 .tests (),
162
162
DRAFT4 .format_tests (),
163
163
DRAFT4 .optional_tests_of (name = "bignum" ),
164
+ DRAFT4 .optional_tests_of (name = "float-overflow" ),
164
165
DRAFT4 .optional_tests_of (name = "non-bmp-regex" ),
165
166
DRAFT4 .optional_tests_of (name = "zeroTerminatedFloats" ),
166
167
Validator = Draft4Validator ,
@@ -234,6 +235,18 @@ def missing_date_fromisoformat(test):
234
235
subject = "uniqueItems" ,
235
236
description = '{"a": true} and {"a": 1} are unique' ,
236
237
)(test )
238
+ or skip (
239
+ message = bug (743 ),
240
+ subject = "float-overflow" ,
241
+ )(test )
242
+ or skip (
243
+ message = bug (743 ),
244
+ subject = "multipleOf" ,
245
+ description = (
246
+ "always invalid, but naive implementations "
247
+ "may raise an overflow error"
248
+ ),
249
+ )(test )
237
250
),
238
251
)
239
252
@@ -242,6 +255,7 @@ def missing_date_fromisoformat(test):
242
255
DRAFT6 .tests (),
243
256
DRAFT6 .format_tests (),
244
257
DRAFT6 .optional_tests_of (name = "bignum" ),
258
+ DRAFT6 .optional_tests_of (name = "float-overflow" ),
245
259
DRAFT6 .optional_tests_of (name = "non-bmp-regex" ),
246
260
Validator = Draft6Validator ,
247
261
format_checker = draft6_format_checker ,
@@ -334,6 +348,18 @@ def missing_date_fromisoformat(test):
334
348
subject = "const" ,
335
349
case_description = 'const with {"a": true} does not match {"a": 1}' ,
336
350
)(test )
351
+ or skip (
352
+ message = bug (743 ),
353
+ subject = "float-overflow" ,
354
+ )(test )
355
+ or skip (
356
+ message = bug (743 ),
357
+ subject = "multipleOf" ,
358
+ description = (
359
+ "always invalid, but naive implementations "
360
+ "may raise an overflow error"
361
+ ),
362
+ )(test )
337
363
),
338
364
)
339
365
@@ -342,6 +368,7 @@ def missing_date_fromisoformat(test):
342
368
DRAFT7 .tests (),
343
369
DRAFT7 .format_tests (),
344
370
DRAFT7 .optional_tests_of (name = "bignum" ),
371
+ DRAFT7 .optional_tests_of (name = "float-overflow" ),
345
372
DRAFT7 .optional_tests_of (name = "content" ),
346
373
DRAFT7 .optional_tests_of (name = "non-bmp-regex" ),
347
374
Validator = Draft7Validator ,
@@ -457,6 +484,18 @@ def missing_date_fromisoformat(test):
457
484
subject = "const" ,
458
485
case_description = 'const with {"a": true} does not match {"a": 1}' ,
459
486
)(test )
487
+ or skip (
488
+ message = bug (743 ),
489
+ subject = "float-overflow" ,
490
+ )(test )
491
+ or skip (
492
+ message = bug (743 ),
493
+ subject = "multipleOf" ,
494
+ description = (
495
+ "always invalid, but naive implementations "
496
+ "may raise an overflow error"
497
+ ),
498
+ )(test )
460
499
),
461
500
)
462
501
0 commit comments