Author: Antonio Cuni <[email protected]>
Branch: rpython-unicode-formatting
Changeset: r56140:9207d2389125
Date: 2012-07-18 14:41 +0200
http://bitbucket.org/pypy/pypy/changeset/9207d2389125/

Log:    kill this test; it has no chances to work on ootype even for simple
        strings, so there is no point in trying to support unicode

diff --git a/pypy/rpython/rpbc.py b/pypy/rpython/rpbc.py
--- a/pypy/rpython/rpbc.py
+++ b/pypy/rpython/rpbc.py
@@ -612,9 +612,6 @@
     def ll_str(self, none):
         return llstr("None")
 
-    def ll_unicode(self, none):
-        return llunicode(u"None")
-
     def get_ll_hash_function(self):
         return ll_none_hash
 
diff --git a/pypy/rpython/test/test_runicode.py 
b/pypy/rpython/test/test_runicode.py
--- a/pypy/rpython/test/test_runicode.py
+++ b/pypy/rpython/test/test_runicode.py
@@ -205,13 +205,6 @@
         assert self.ll_to_string(res) == const(u'before &#224; after')
         #
 
-    def test_strformat_unicode_arg_None(self):
-        const = self.const
-        def percentS(s):
-            return const("before %s after") % (s,)
-        res = self.interpret(percentS, [None])
-        assert self.ll_to_string(res) == const(u'before None after')
-    
     def unsupported(self):
         py.test.skip("not supported")
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to