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

pypy/module/_sre/test/test_sre_buf.py::AppTestSreMatchBuf::()::test_sub_bytes

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

    def test_sub_bytes(self):
            import re
>           assert b"bbbbb" == re.sub(b"a", b"b", b"ababa")
E           (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import)

[d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:135]:3: AttributeError
builder: own-win-x86-64 build #2382+
test: pypy/module/_sre/test/test_sre_buf.py::AppTestSreMatchBuf::()::test_sub_bytes