pypy/objspace/std/test/test_unicodeobject.py::AppTestUnicodeString::()::test_formatting_unicode__str__2
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007f8c31eb5cc8>
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
[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/objspace/std/test/test_unicodeobject.py:554]:16: AssertionError
builder: own-macos-x86-64 build #1308+
test: pypy/objspace/std/test/test_unicodeobject.py::AppTestUnicodeString::()::test_formatting_unicode__str__2