pypy/objspace/std/test/test_unicodeobject.py::AppTestUnicodeString::()::test_find_index_str_unicode
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x1c33d9f0>
def test_find_index_str_unicode(self):
assert u'abcdefghiabc'.find(u'bc') == 1
assert u'ab\u0105b\u0107'.find('b', 2) == 3
assert u'ab\u0105b\u0107'.find('b', 0, 1) == -1
assert 'abcdefghiabc'.rfind(u'abc') == 9
> raises(UnicodeDecodeError, '\x80'.find, u'')
E (application-level) AssertionError: DID NOT RAISE
[/buildbot/slave/own-linux-x86-32/build/pypy/objspace/std/test/test_unicodeobject.py:332]:6: AssertionError
builder: own-linux-x86-32 build #9465+
test: pypy/objspace/std/test/test_unicodeobject.py::AppTestUnicodeString::()::test_find_index_str_unicode