Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
py.test should escape \r in error messages #3443
py.test doesn't escape \r in assertion messages, which makes the assertion failures very hard to understand. This is best demonstrated with an example:
# test.py def test_stuff(): a = u'\r\n' assert a == u'\n'