Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not merge schemas with distinct "format" values #63

Closed
Stranger6667 opened this issue Aug 25, 2020 · 1 comment
Closed

Do not merge schemas with distinct "format" values #63

Stranger6667 opened this issue Aug 25, 2020 · 1 comment

Comments

@Stranger6667
Copy link
Contributor

Stranger6667 commented Aug 25, 2020

An example of a failed test

Code to reproduce:

from hypothesis_jsonschema._canonicalise import merged

s1 = {'format': 'color', 'type': 'string'}
s2 = {'format': 'date-fullyear', 'type': 'string'}

assert merged([s1, s2]) == merged([s2, s1])
@Zac-HD
Copy link
Member

Zac-HD commented Aug 26, 2020

Fixed in version 0.17.4, by e6721e6.

@Zac-HD Zac-HD closed this as completed Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants