[Pytest-commit] commit/pytest: gutworth: fix test on Python 3.2

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sat May 31 23:51:11 CEST 2014


1 new commit in pytest:

https://bitbucket.org/hpk42/pytest/commits/76c9e65c1687/
Changeset:   76c9e65c1687
User:        gutworth
Date:        2014-05-31 23:51:05
Summary:     fix test on Python 3.2
Affected #:  1 file

diff -r a79829a4061e5ff521cd94925910e8ad56e0112b -r 76c9e65c1687a58a194ca230871d9b3b28e4421b testing/test_assertion.py
--- a/testing/test_assertion.py
+++ b/testing/test_assertion.py
@@ -206,7 +206,7 @@
         # Issue 453, for the bug this would raise IndexError
         testdir.makepyfile("""
             def test_foo():
-                assert u'\\n}' == u''
+                assert '\\n}' == ''
         """)
         result = testdir.runpytest()
         assert result.ret == 1

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the pytest-commit mailing list