jit/backend/x86/test/test_fficall.py::TestFfiCall::()::test_many_arguments
self = <rpython.jit.backend.x86.test.test_fficall.TestFfiCall object at 0x7f297d3ad6d0>
def test_many_arguments(self):
for i in [0, 6, 20]:
self._run([types.signed] * i, types.signed,
[-123456*j for j in range(i)],
> -42434445)
jit/metainterp/test/test_fficall.py:182:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
jit/metainterp/test/test_fficall.py:142: in _run
with FakeFFI(fake_call_impl_any):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <rpython.jit.metainterp.test.test_fficall.FakeFFI object at 0x7f297d375b50>
args = ()
def __enter__(self, *args):
> self.monkey.setattr(jit_libffi, 'jit_ffi_call_impl_any', self.fake_call_impl_any)
E AttributeError: 'generator' object has no attribute 'setattr'
jit/metainterp/test/test_fficall.py:40: AttributeError
builder: rpython-linux-x86-64 build #887
test: jit/backend/x86/test/test_fficall/py/TestFfiCall/()/test_many_arguments