Home - Summaries: (main) : (py3.11) : (py3.12) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

pypy/objspace/std/test/test_unicodeobject.py::AppTestUnicodeString::()::test_find_index_str_unicode

self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007f8c31eb5cc8>

    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

[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/objspace/std/test/test_unicodeobject.py:332]:6: AssertionError
builder: own-macos-x86-64 build #1308+
test: pypy/objspace/std/test/test_unicodeobject.py::AppTestUnicodeString::()::test_find_index_str_unicode