summaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/ufuncs.pyi
blob: 1b1628d7da4431c5fc30c051a413052cbe6969ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import numpy as np
import numpy.typing as npt

AR_f8: npt.NDArray[np.float64]

np.sin.nin + "foo"  # type: ignore[operator]
np.sin(1, foo="bar")  # type: ignore[call-overload]

np.abs(None)  # type: ignore[call-overload]

np.add(1, 1, 1)  # type: ignore[call-overload]
np.add(1, 1, axis=0)  # type: ignore[call-overload]

np.matmul(AR_f8, AR_f8, where=True)  # type: ignore[call-overload]

np.frexp(AR_f8, out=None)  # type: ignore[call-overload]
np.frexp(AR_f8, out=AR_f8)  # type: ignore[call-overload]