[pypy-commit] pypy py3k: this test does not make sense for py3k, we cannot use % on bytes

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


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r54513:77b126a20fff
Date: 2012-04-19 09:46 +0200
http://bitbucket.org/pypy/pypy/changeset/77b126a20fff/

Log:	this test does not make sense for py3k, we cannot use % on bytes

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
@@ -183,8 +183,6 @@
         raises(TypeError, '%c'.__mod__, ("",))
         raises(TypeError, '%c'.__mod__, (['c'],))
     
-    def test_broken_unicode(self):
-        raises(UnicodeDecodeError, 'N&#225;zov: %s'.__mod__, u'Jerry')
 
 class AppTestWidthPrec:
     def test_width(self):


More information about the pypy-commit mailing list