22 lines
566 B
Python
22 lines
566 B
Python
![]() |
"""
|
||
|
Tests for miscellaneous (non-magic) ``np.ndarray``/``np.generic`` methods.
|
||
|
|
||
|
More extensive tests are performed for the methods'
|
||
|
function-based counterpart in `../from_numeric.py`.
|
||
|
|
||
|
"""
|
||
|
|
||
|
import numpy as np
|
||
|
|
||
|
f8: np.float64
|
||
|
|
||
|
f8.argpartition(0) # E: has no attribute
|
||
|
f8.diagonal() # E: has no attribute
|
||
|
f8.dot(1) # E: has no attribute
|
||
|
f8.nonzero() # E: has no attribute
|
||
|
f8.partition(0) # E: has no attribute
|
||
|
f8.put(0, 2) # E: has no attribute
|
||
|
f8.setfield(2, np.float64) # E: has no attribute
|
||
|
f8.sort() # E: has no attribute
|
||
|
f8.trace() # E: has no attribute
|