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

Float comparator does not handle inf correctly #146

Open
wanderingWitch opened this issue Dec 8, 2020 · 0 comments · May be fixed by #150
Open

Float comparator does not handle inf correctly #146

wanderingWitch opened this issue Dec 8, 2020 · 0 comments · May be fixed by #150

Comments

@wanderingWitch
Copy link

Noticed this a while ago, sorry for delay.
ex:

a1 = {'a': [1.0, 2.0, 3.0, 4.0]}
a2 = {'a': [1.0, 2.0, 3.0, float('inf')]}

dictdiffer.diff does not return any differences for these two dictionaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants