Skip to content

Commit 5fd21e9

Browse files
authored
Update test_visualize.py
1 parent 9de88c2 commit 5fd21e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_visualize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_get_frame(self):
3131
dx, counts = np.unique(
3232
np.diff(frame, axis=-2).squeeze().astype(int), axis=0, return_counts=True
3333
)
34-
self.assertEqual(dx.ptp(), 1, msg="Frames not drawn along the nearest edges")
34+
self.assertEqual(np.ptp(dx), 1, msg="Frames not drawn along the nearest edges")
3535
msg = (
3636
"There must be four lines along each direction"
3737
+ " (4 x [1, 0, 0], 4 x [0, 1, 0] and 4 x [0, 0, 1])"

0 commit comments

Comments
 (0)