pypy/module/_sre/test/apptest_sre.py::test_scanner_match_string
def test_scanner_match_string():
import re
class mystr(type(u"")):
pass
s = mystr(u"bla")
> p = re.compile(u".").scanner(s)
E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import)
module\_sre\test\apptest_sre.py:282: AttributeError
builder: own-win-x86-64 build #2382+
test: pypy/module/_sre/test/apptest_sre.py::test_scanner_match_string