()
| 219 | # Finally, matmul() must be tested separately, because it works a bit |
| 220 | # different from the other operations. |
| 221 | def _matmul_array_vals(): |
| 222 | for a in _array_vals(): |
| 223 | yield a |
| 224 | for d in _all_dtypes: |
| 225 | yield ones((3, 4), dtype=d) |
| 226 | yield ones((4, 2), dtype=d) |
| 227 | yield ones((4, 4), dtype=d) |
| 228 | |
| 229 | # Scalars always error |
| 230 | for _op in ["__matmul__", "__rmatmul__", "__imatmul__"]: |
no test coverage detected