⬅︎ Back to To assert or assertEqual in Python unit testing
assertEquals generates nicer error message when it fails AssertionError: 'foo' != 'bar' instead of just AssertionError.
Comment
assertEquals generates nicer error message when it fails AssertionError: 'foo' != 'bar' instead of just AssertionError.