ctypes_tests.test_functions:test_call_some_args
dll = <[TypeError("unsupported operand type(s) for &: '_rawffi.alt.CDLL' and 'int'") raised in repr()] CDLL object at 0x15b759ec0>
def test_call_some_args(dll):
f = dll.my_strchr
f.argtypes = [c_char_p]
f.restype = c_char_p
result = f(b"abcd", ord("b"))
> assert result == b"bcd"
E AssertionError: assert b'' == b'bcd'
E Use -v to get the full diff
../build/extra_tests/ctypes_tests/test_functions.py:58: AssertionError
builder: pypy-c-jit-macos-arm64 build #1298+
test: ctypes_tests.test_functions:test_call_some_args