It looks like __imatmul__ currently lacks test coverage in the suite. A broken implementation (e.g. one raising AttributeError) can pass array_api_tests without triggering any failures.
Checking the codebase:
imatmul isn't referenced anywhere under array_api_tests/.
test_iop only covers elementwise binary ops, so matmul isn't included.
test_linalg.py tests namespace.matmul() directly, but doesn't exercise @ or @=.
Happy to send a PR adding @= coverage if needed!
It looks like
__imatmul__currently lacks test coverage in the suite. A broken implementation (e.g. one raisingAttributeError) can passarray_api_testswithout triggering any failures.Checking the codebase:
imatmulisn't referenced anywhere underarray_api_tests/.test_ioponly covers elementwise binary ops, somatmulisn't included.test_linalg.pytestsnamespace.matmul()directly, but doesn't exercise@or@=.Happy to send a PR adding @= coverage if needed!