pypy/objspace/std/test/test_unicodeobject.py::AppTestUnicodeString::()::test_formatting_unicode__str__2
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x1c33d9f0>
def test_formatting_unicode__str__2(self):
class A:
def __str__(self):
return u'baz'
class B:
def __str__(self):
return 'foo'
def __unicode__(self):
return u'bar'
a = A()
b = B()
s = '%s %s' % (a, b)
> assert s == u'baz bar'
E (application-level) AssertionError
[/buildbot/slave/own-linux-x86-32/build/pypy/objspace/std/test/test_unicodeobject.py:554]:16: AssertionError
builder: own-linux-x86-32 build #9465+
test: pypy/objspace/std/test/test_unicodeobject.py::AppTestUnicodeString::()::test_formatting_unicode__str__2