Skip to content

Commit 0d4b441

Browse files
Tests had np.int too
1 parent 8bc800b commit 0d4b441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyscm/tests/test_utility.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def test_4(self):
145145
best_kinds,
146146
best_N,
147147
best_P_bar,
148-
) = find_max(p, X, y, Xas, np.array([1, 2], dtype=np.int), np.ones(X.shape[1]))
148+
) = find_max(p, X, y, Xas, np.array([1, 2], dtype=int), np.ones(X.shape[1]))
149149
np.testing.assert_almost_equal(actual=best_feat_idx, desired=[0, 1])
150150

151151
def test_5(self):

0 commit comments

Comments
 (0)