Permalink
Browse files

TST: correct failing stats.anderson test.

  • Loading branch information...
1 parent 6c52e9d commit 89c88431e648369d4a15b4fd4e762a28eb86abd8 @rgommers rgommers committed Sep 4, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 scipy/stats/tests/test_morestats.py
@@ -7,7 +7,7 @@
from numpy.testing import TestCase, run_module_suite, assert_array_equal, \
assert_almost_equal, assert_array_less, assert_array_almost_equal, \
- assert_raises
+ assert_raises, assert_
import scipy.stats as stats
@@ -69,7 +69,7 @@ def test_expon(self):
A,crit,sig = stats.anderson(x2,'expon')
finally:
np.seterr(**olderr)
- assert_array_less(crit[:-1], A)
+ assert_(A > crit[-1])
def test_bad_arg(self):
assert_raises(ValueError, stats.anderson, [1], dist='plate_of_shrimp')

0 comments on commit 89c8843

Please sign in to comment.