pypy/module/_sre/test/apptest_sre.py::test_bug_40736
def test_bug_40736():
import re
> with pytest.raises(TypeError) as exc_info:
re.search("x*", 5)
E (application-level) AssertionError: raises() expected <class 'TypeError'>, but got <class 'AttributeError'>
module\_sre\test\apptest_sre.py:626: AssertionError
builder: own-win-x86-64 build #2382+
test: pypy/module/_sre/test/apptest_sre.py::test_bug_40736