Skip to content

Instantly share code, notes, and snippets.

@timo
Created May 3, 2012 17:29
Show Gist options
  • Save timo/2587435 to your computer and use it in GitHub Desktop.
Save timo/2587435 to your computer and use it in GitHub Desktop.
class TestPyTestFail(object):
def test_rewrite_fail(self):
yoink = range(10)
assert yoink[5] % 4 != 1
#> assert yoink[5] % 4 != 1
#E assert (5 %(py3)s) != 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment