dictdiffer icon indicating copy to clipboard operation
dictdiffer copied to clipboard

get wrong result with path_limit

Open hugebig opened this issue 3 years ago • 0 comments

Package version (if known): <0.9.0>

Describe the bug

a = {'a': [{'a': 1, 'b': 2}], 'b': {'a': 1}} b = {'a': [{'a': 1, 'b': 2}], 'b': {'a': 1}} result = diff(a, b, path_limit=[('a',)]) print(list(result)) [('change', ['a'], ([{'a': 1, 'b': 2}], [{'a': 1, 'b': 2}]))]

Expected behavior

[]

hugebig avatar Oct 25 '22 06:10 hugebig