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

pypy/module/posix/test/test_posix2.py::AppTestPosix::()::test_abort

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

    def test_abort(self):
                os = self.posix
                pid = os.fork()
                if pid == 0:
                    os.abort()
                pid1, status1 = os.waitpid(pid, 0)
                assert pid1 == pid
                assert os.WIFSIGNALED(status1)
>               assert os.WTERMSIG(status1) == self.SIGABRT
E               (application-level) AssertionError: assert 10 == 6
E                +  where 10 = <built-in function WTERMSIG>(10)
E                +    where <built-in function WTERMSIG> = <built-in function WTERMSIG>
E                +      where <built-in function WTERMSIG> = <module 'posix' (built-in)>.WTERMSIG
E                +  and   6 = 6
E                +    where 6 = <AppTestPosix object at 0x0000000131140bf0>.SIGABRT

[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/posix/test/test_posix2.py:882]:9: AssertionError
builder: own-macos-arm64 build #1198
test: pypy/module/posix/test/test_posix2/py/AppTestPosix/()/test_abort