pypy/objspace/std/test/test_unicodeobject.py::AppTestUnicodeString::()::test_replace_str_unicode
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x1c33d9f0>
def test_replace_str_unicode(self):
res = 'one!two!three!'.replace(u'!', u'@', 1)
assert res == u'one@two!three!'
> assert type(res) == unicode
E (application-level) NameError: name 'unicode' is not defined
[/buildbot/slave/own-linux-x86-32/build/pypy/objspace/std/test/test_unicodeobject.py:669]:4: NameError
builder: own-linux-x86-32 build #9465+
test: pypy/objspace/std/test/test_unicodeobject.py::AppTestUnicodeString::()::test_replace_str_unicode