Skip to content

Commit 3e65a12

Browse files
committed
FIX: See why [build wheels]
1 parent 5f5fae5 commit 3e65a12

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

nitime/tests/test_utils.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,7 @@ def test_detect_lines_2dmode():
302302

303303
npt.assert_(len(lines)==3, 'Detect lines failed multi-sequence mode')
304304

305-
consistent1 = (lines[0][0] == lines[1][0]).all() and \
306-
(lines[1][0] == lines[2][0]).all()
307-
consistent2 = (lines[0][1] == lines[1][1]).all() and \
308-
(lines[1][1] == lines[2][1]).all()
309-
310-
npt.assert_(consistent1 and consistent2, 'Inconsistent results')
305+
npt.assert_allclose(lines[0][0], lines[1][0])
306+
npt.assert_allclose(lines[0][0], lines[2][0])
307+
npt.assert_allclose(lines[0][1], lines[1][1])
308+
npt.assert_allclose(lines[0][1], lines[2][1])

0 commit comments

Comments
 (0)