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

pypy/module/sys/test/test_sysmodule.py::AppTestSysModulePortedFromCPython::()::test_recursionlimit_toolow

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

    def test_recursionlimit_toolow(self):
            import sys
            def callatlevel(l):
                if l > 0:
                    callatlevel(l - 1)
                else:
                    sys.setrecursionlimit(1)
>           with raises(RecursionError):
                callatlevel(500)
E               (application-level) AssertionError: raises() expected <class 'RecursionError'>, but got no exception

[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/sys/test/test_sysmodule.py:554]:8: AssertionError
builder: own-macos-x86-64 build #1208
test: pypy/module/sys/test/test_sysmodule/py/AppTestSysModulePortedFromCPython/()/test_recursionlimit_toolow