Skip to content

Commit 4dd8990

Browse files
author
William de Vazelhes
committed
FIX: fix test with real value to test in check_tuples
1 parent d1f811b commit 4dd8990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def test_check_tuples():
77
X = np.array([[[1, 2], [3, 4]], [[5, 6], [7, 8]]])
88
check_tuples(X)
99

10-
X = np.array(5)
10+
X = 5
1111
msg = ("Expected 3D array, got scalar instead. Cannot apply this function "
1212
"on scalars.")
1313
with pytest.raises(ValueError, message=msg):

0 commit comments

Comments
 (0)