pytest does wonderful assert introspection so it is easy to find differences in strings especially if the difference is in white space. Now I use a
pytest
assert introspection
I had to put the register_assert_rewrite into tests/__init__.py like so:
import pytest # we want to have pytest assert introspection in the helpers pytest.register_assert_rewrite('tests.helpers')