Closed
Description
Hey guys,
thanks for this usefull library.
I got some problems when I compare two list. Each of them has one boolean as element. Using DeepDiff with ignore_order=False works like a charm. But forced with ignore_order=True doesn't work anymore.
Code to reproduce:
from deepdiff import DeepDiff
a = [True]
b = [False]
print(DeepDiff(a, b, ignore_order=True))
Expected results:
{'values_changed': {'root[0]': {'new_value': False, 'old_value': True}}}
Real results:
Can not produce a hash for root.Not counting this object.
'True is not one of the hashed items.'
Can not produce a hash for root.Not counting this object.
'False is not one of the hashed items.'
{}
I need the ignore_order to be true, for other objects.
deepdiff 4.0.7, Python 3.6.9, Ubuntu 18.04