Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r54528:580294c5d310
Date: 2012-04-19 10:06 +0200
http://bitbucket.org/pypy/pypy/changeset/580294c5d310/

Log:    these two tests don't make sense on py3k where we have only unicode
        strings

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
@@ -256,21 +256,7 @@
         assert "%G" % (nan,) == 'NAN'
 
 class AppTestUnicodeObject:
-    def test_unicode_convert(self):
-        u = u"x"
-        assert isinstance("%s" % u, unicode)
-
-    def test_unicode_nonascii(self):
-        """
-        Interpolating a unicode string with non-ascii characters in it into
-        a string format should decode the format string as ascii and return
-        unicode.
-        """
-        u = u'\x80'
-        result = "%s" % u
-        assert isinstance(result, unicode)
-        assert result == u
-
+    
     def test_unicode_d(self):
         t = 3
         assert u"%.1d" % t == '3'
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to