-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
deepdiff works wrong while comparing two list[dict] #344
Labels
Comments
linkhao380
changed the title
deepdiif works wrong while comparing two list[dict]
deepdiff works wrong while comparing two list[dict]
Aug 31, 2022
Hi @linkhao380 |
Hi @seperman Is there any updates on this bug? |
Thanks for the reminder. I will take a look.Sep DehpourOn Jun 2, 2023, at 3:40 AM, dengmingcong ***@***.***> wrote:
Hi @seperman
Is there any updates on this bug?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Note: this is a bug with |
Got it, thanks for your rapid response, is there plan to fix this bug? |
munir131
added a commit
to Improwised/deepdiff
that referenced
this issue
Nov 25, 2023
seperman
added a commit
that referenced
this issue
Nov 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When a list[dict] contains a duplicate object, deepdiff will works wrong.
To Reproduce
Buggy Output = {'dictionary_item_added': [<root[0]['name'] t1:not present, t2:1>, <root[1]['name'] t1:not present, t2:1>, <root[2]['name'] t1:not present, t2:1>]}
Expected behavior
It is supposed to output contains 'iterable_item_removed' report_type.
Expected Output: {'dictionary_item_added': [<root[0]['name'] t1:not present, t2:1>], 'iterable_item_removed': [<root[1] t1:{'id': 1}, t2:not present>, <root[2] t1:{'id': 1}, t2:not present>]}
OS, DeepDiff version and Python version (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: