DotDict behaves inconsistent on equality checks. x == y
!= not x != y
and not x != y
== not x == y
#4956
Labels
Milestone
As found in #4955
==
and!=
do behave differently on DotDict.While
==
behaves likedict
the!=
does behave like OrderedDict.Quote:
This
not a == b
vsa != b
was the reason the utest fail in the branch.And i would consider this an actual bug in DotDict implementation?
This also appears in Robot Framework Usage:
DotDict

OrderedDict

Normal python dict

Fix should just be adding this to DotDict:
I think it is easiest if you quickly add this and a test for it yourself.
The text was updated successfully, but these errors were encountered: