Skip to content

Commit 8caf74a

Browse files
committed
Disable testing for matrices to avoid deprecation warnings
1 parent 0100e0e commit 8caf74a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/test_array.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,11 @@ def vectortypes(*coeffs):
1111
np.array(coeffs),
1212
np.array(coeffs).reshape(1, -1),
1313
np.array(coeffs).reshape(-1, 1),
14-
np.matrix(coeffs),
15-
np.matrix(coeffs).transpose(),
1614
]
1715

1816

1917
def vector_id(vector):
20-
if isinstance(vector, np.matrix):
21-
return 'matrix, shape=' + repr(vector.shape)
22-
elif isinstance(vector, np.ndarray):
18+
if isinstance(vector, np.ndarray):
2319
return 'array, shape=' + repr(vector.shape)
2420
return type(vector).__name__
2521

0 commit comments

Comments
 (0)