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

antocuni noreply at buildbot.pypy.org
Thu Apr 19 09:58:46 CEST 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
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,)')


More information about the pypy-commit mailing list