Skip to content

Commit 4737847

Browse files
committed
Run the unicode and float-overflow optional tests on all drafts.
1 parent 33d22e0 commit 4737847

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

jsonschema/tests/test_jsonschema_test_suite.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ def leap_second(test):
159159
DRAFT4.tests(),
160160
DRAFT4.format_tests(),
161161
DRAFT4.optional_tests_of(name="bignum"),
162+
DRAFT4.optional_tests_of(name="float-overflow"),
162163
DRAFT4.optional_tests_of(name="non-bmp-regex"),
164+
DRAFT4.optional_tests_of(name="unicode"),
163165
DRAFT4.optional_tests_of(name="zeroTerminatedFloats"),
164166
Validator=Draft4Validator,
165167
format_checker=draft4_format_checker,
@@ -224,7 +226,9 @@ def leap_second(test):
224226
DRAFT6.tests(),
225227
DRAFT6.format_tests(),
226228
DRAFT6.optional_tests_of(name="bignum"),
229+
DRAFT6.optional_tests_of(name="float-overflow"),
227230
DRAFT6.optional_tests_of(name="non-bmp-regex"),
231+
DRAFT7.optional_tests_of(name="unicode"),
228232
Validator=Draft6Validator,
229233
format_checker=draft6_format_checker,
230234
skip=lambda test: (
@@ -306,7 +310,9 @@ def leap_second(test):
306310
DRAFT7.format_tests(),
307311
DRAFT7.optional_tests_of(name="bignum"),
308312
DRAFT7.optional_tests_of(name="content"),
313+
DRAFT7.optional_tests_of(name="float-overflow"),
309314
DRAFT7.optional_tests_of(name="non-bmp-regex"),
315+
DRAFT7.optional_tests_of(name="unicode"),
310316
Validator=Draft7Validator,
311317
format_checker=draft7_format_checker,
312318
skip=lambda test: (
@@ -412,6 +418,7 @@ def leap_second(test):
412418
DRAFT201909.optional_tests_of(name="float-overflow"),
413419
DRAFT201909.optional_tests_of(name="non-bmp-regex"),
414420
DRAFT201909.optional_tests_of(name="refOfUnknownKeyword"),
421+
DRAFT201909.optional_tests_of(name="unicode"),
415422
Validator=Draft201909Validator,
416423
skip=lambda test: (
417424
skip(
@@ -447,6 +454,7 @@ def leap_second(test):
447454
DRAFT202012.optional_tests_of(name="float-overflow"),
448455
DRAFT202012.optional_tests_of(name="non-bmp-regex"),
449456
DRAFT202012.optional_tests_of(name="refOfUnknownKeyword"),
457+
DRAFT202012.optional_tests_of(name="unicode"),
450458
Validator=Draft202012Validator,
451459
skip=lambda test: (
452460
narrow_unicode_build(test)

0 commit comments

Comments
 (0)