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

pypy/module/_cffi_backend/test/test_c.py::AppTestC::()::test_call_function_9

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

    def test_call_function_9(self):
        import _all_test_c
        try:
>           _all_test_c.test_call_function_9()

[/tmp/buildbot-arm64/usession-py3.11-3855/test_c/_test_c.py:594]:4: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def test_call_function_9():
        BInt = new_primitive_type("int")
        BFunc9 = new_function_type((BInt,), BInt, True)    # vararg
        f = cast(BFunc9, _testfunc(9))
        assert f(0) == 0
>       assert f(1, cast(BInt, 42)) == 42
E       (application-level) AssertionError

/tmp/buildbot-arm64/usession-py3.11-3855/test_c/_all_test_c.py:1253: AssertionError
builder: own-macos-arm64 build #1206
test: pypy/module/_cffi_backend/test/test_c/py/AppTestC/()/test_call_function_9