diff options
Diffstat (limited to 'numpy/tests/fail/ufuncs.py')
-rw-r--r-- | numpy/tests/fail/ufuncs.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/tests/fail/ufuncs.py b/numpy/tests/fail/ufuncs.py new file mode 100644 index 000000000..b178a4ea4 --- /dev/null +++ b/numpy/tests/fail/ufuncs.py @@ -0,0 +1,5 @@ +import numpy as np + +np.sin.nin + "foo" # E: Unsupported operand types +np.sin(1, foo="bar") # E: Unexpected keyword argument +np.sin(1, extobj=["foo", "foo", "foo"]) # E: incompatible type |