--- a/dipy/reconst/tests/test_peaks.py
+++ b/dipy/reconst/tests/test_peaks.py
@@ -219,7 +219,7 @@ def test_peak_directions_thorough():
     assert_almost_equal(angular_similarity(directions, sticks), 1, 2)
 
     AE = np.rad2deg(np.arccos(np.dot(directions[0], sticks[0])))
-    assert_equal(AE < 2., True)
+    assert_equal(90-abs(90-AE) < 2., True)
 
     # two equal fibers and one small noisy one
     mevals = np.array([[0.0015, 0.0003, 0.0003],
