In 'assertEqual(expected, observed)', the string length of the sum of the results of repr(expected) and repr(observed) is greater than 70, then, MismatchError message is changed. Depending on the length of repr(observed), this condition is satisfied.
In 'assertEqual( expected, observed)', the string length of the sum of the results of repr(expected) and repr(observed) is greater than 70, then, MismatchError message is changed. Depending on the length of repr(observed), this condition is satisfied.
https:/ /github. com/testing- cabal/testtools /blob/master/ testtools/ matchers/ _basic. py#L77