pypy/module/_rawffi/test/test_exit.py::AppTestFfi::()::test_exit
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000150094410>
def test_exit(self):
try:
import posix, _rawffi
except ImportError:
skip("requires posix.fork() to test")
#
pid = posix.fork()
if pid == 0:
_rawffi.exit(5) # in the child
pid, status = posix.waitpid(pid, 0)
> assert posix.WIFEXITED(status)
E (application-level) AssertionError
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_rawffi/test/test_exit.py:5]:11: AssertionError
builder: own-macos-arm64 build #1336+
test: pypy/module/_rawffi/test/test_exit.py::AppTestFfi::()::test_exit