ctypes_tests.test_functions:test_call_some_args
dll = <CDLL '/private/tmp/buildbot-arm64/pytest-of-matti/pytest-30/_ctypes_test0/_ctypes_test.so', handle 8bdcf5b0 at 131663ef8>
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 '' == 'bcd'
E + bcd
../build/extra_tests/ctypes_tests/test_functions.py:58: AssertionError
builder: pypy-c-jit-macos-arm64 build #1440+
test: ctypes_tests.test_functions:test_call_some_args