[Scipy-svn] r5587 - trunk/scipy/stats/tests
scipy-svn at scipy.org
scipy-svn at scipy.org
Sun Feb 22 07:34:09 EST 2009
Author: josef
Date: 2009-02-22 06:34:06 -0600 (Sun, 22 Feb 2009)
New Revision: 5587
Modified:
trunk/scipy/stats/tests/test_morestats.py
Log:
reduce precision of test (fligner)
Modified: trunk/scipy/stats/tests/test_morestats.py
===================================================================
--- trunk/scipy/stats/tests/test_morestats.py 2009-02-22 08:57:41 UTC (rev 5586)
+++ trunk/scipy/stats/tests/test_morestats.py 2009-02-22 12:34:06 UTC (rev 5587)
@@ -113,8 +113,8 @@
def test_fligner():
#this is a regression test for replacing np.var
x1=np.arange(5)
- assert_array_equal(stats.fligner(x1,x1**2),
- (3.2282229927203558, 0.072379187848207877))
+ assert_array_almost_equal(stats.fligner(x1,x1**2),
+ (3.2282229927203558, 0.072379187848207877),11)
if __name__ == "__main__":
run_module_suite()
More information about the Scipy-svn
mailing list