When testing the outputs of your functions, it can be frustrated to see your tests fail because of something you don’t care too much about such as:
- order of items in a list
- different ways to specify the same thing such as abbreviation
- exact value up to the last decimal point, etc
Is there a way that you can exclude certain parts of the object from the comparison? That is when DeepDiff comes in handy.