json-schema-org / JSON-Schema-Test-Suite

A language agnostic test suite for the JSON Schema specifications
MIT License
625 stars 209 forks source link

test: cover ISO8601 date values accepted by Python 3.11 datetime module #659

Closed jvtm closed 1 year ago

jvtm commented 1 year ago

Python 3.11 datetime module allows additional ISO8601 date, time and date-time formats that are not RFC3339 5.6 compliant.

This change adds tests for invalid date values that are at the moment allowed by at least Python jsonschema library as valid date sttrings.

Looks like date-time and time test cases already cover at least some values that are valid by ISO8601 but not by RFC3339 section 5.6.

See:

PR sent to jsonschema library python-jsonschema/jsonschema#1076.

jvtm commented 1 year ago

Need to fix few of these:

Description is too long (keep it to less than 70 chars).

Done, shortened the longest descriptions.