Pretty print why two objects are not equal When using pytest, I get nice pretty printing when two objects are not equivalent: