[pypy-commit] pypy rpython-unicode-formatting: 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
antocuni
noreply at buildbot.pypy.org
Wed Jul 18 14:44:16 CEST 2012
Author: Antonio Cuni <anto.cuni at gmail.com>
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 à 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")
More information about the pypy-commit
mailing list