Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r54517:ae3dff717bbb
Date: 2012-04-19 09:54 +0200
http://bitbucket.org/pypy/pypy/changeset/ae3dff717bbb/

Log:    py3k-ify. The test still fail because we cannot have unicode
        exception messages yet, but apart from that it raises the correct
        exception

diff --git a/pypy/objspace/std/test/test_stringformat.py 
b/pypy/objspace/std/test/test_stringformat.py
--- a/pypy/objspace/std/test/test_stringformat.py
+++ b/pypy/objspace/std/test/test_stringformat.py
@@ -295,4 +295,4 @@
 
     def test_invalid_char(self):
         f = 4
-        raises(ValueError, 'u"%\u1234" % (f,)')
+        raises(ValueError, '"%\u1234" % (f,)')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to