You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The exclude_regex_paths is not working if the keys are different and would be filtered out. Only working if the threshold_to_diff_deeper is set to 0
Describe the bug
The exclude_regex_paths is not working if the keys are different and would be filtered out. Only working if the threshold_to_diff_deeper is set to 0
To Reproduce
t1 = {'a': [1, 2, [3, {'foo1': 'bar'}]]}
t2 = {'a': [1, 2, [3, {'foo2': 'bar'}]]}
diff = deepdiff.DeepDiff(t1, t2, exclude_regex_paths="['foo.']")
Expected behavior
Diff is expected to be empty
OS, DeepDiff version and Python version (please complete the following information):
Additional context
Example from:
https://zepworks.com/deepdiff/current/exclude_paths.html
diff = deepdiff.DeepDiff(t1, t2, exclude_regex_paths="['foo.']", threshold_to_diff_deeper=0) is working and produces empty diff
The text was updated successfully, but these errors were encountered: