We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When ignore_order=True, DeepDiff doesn't recognise type changes between integers and floats.
ignore_order=True
To Reproduce
>>> DeepDiff([{"a":1}], [{"a": 1.0}], ignore_order=True) {}
Expected behavior It should recognise the type change as a difference as it does when ignore_order=False
ignore_order=False
>>> DeepDiff([{"a":1}], [{"a": 1.0}]) # Type change is recognised {'type_changes': {"root[0]['a']": { 'old_type': <class 'int'>, 'new_type': <class 'float'>, 'old_value': 1, 'new_value': 1.0 }}}
OS, DeepDiff version and Python version (please complete the following information):
The text was updated successfully, but these errors were encountered:
Hi @anatollius Thanks for reporting a bug. I will take a look at it when I have a chance. PRs are always very welcome too.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When
ignore_order=True
, DeepDiff doesn't recognise type changes between integers and floats.To Reproduce
Expected behavior
It should recognise the type change as a difference as it does when
ignore_order=False
OS, DeepDiff version and Python version (please complete the following information):
The text was updated successfully, but these errors were encountered: