[Scipy-svn] r4729 - in trunk/scipy/stats: . tests

scipy-svn@scip... scipy-svn@scip...
Thu Sep 18 14:31:52 CDT 2008


Author: alan.mcintyre
Date: 2008-09-18 14:31:49 -0500 (Thu, 18 Sep 2008)
New Revision: 4729

Modified:
   trunk/scipy/stats/mmorestats.py
   trunk/scipy/stats/morestats.py
   trunk/scipy/stats/tests/test_mmorestats.py
   trunk/scipy/stats/tests/test_stats.py
Log:
Remove unused/redundant imports.


Modified: trunk/scipy/stats/mmorestats.py
===================================================================
--- trunk/scipy/stats/mmorestats.py	2008-09-18 19:30:13 UTC (rev 4728)
+++ trunk/scipy/stats/mmorestats.py	2008-09-18 19:31:49 UTC (rev 4729)
@@ -18,20 +18,16 @@
            'trimmed_mean_ci',]
 
 import numpy as np
-from numpy import bool_, float_, int_, ndarray, array as narray
+from numpy import float_, int_, ndarray
 
 import numpy.ma as ma
-from numpy.ma import masked, nomask, MaskedArray
-#from numpy.ma.extras import apply_along_axis, dot, median
+from numpy.ma import MaskedArray
 
 import scipy.stats.mstats as mstats
-#from numpy.ma.mstats import trim_both, trimmed_stde, mquantiles, stde_median
 
 from scipy.stats.distributions import norm, beta, t, binom
-from scipy.stats.morestats import find_repeats
 
 
-
 #####--------------------------------------------------------------------------
 #---- --- Quantiles ---
 #####--------------------------------------------------------------------------

Modified: trunk/scipy/stats/morestats.py
===================================================================
--- trunk/scipy/stats/morestats.py	2008-09-18 19:30:13 UTC (rev 4728)
+++ trunk/scipy/stats/morestats.py	2008-09-18 19:31:49 UTC (rev 4729)
@@ -5,10 +5,9 @@
 import statlib
 import stats
 import distributions
-import inspect
 from numpy import isscalar, r_, log, sum, around, unique, asarray
 from numpy import zeros, arange, sort, amin, amax, any, where, \
-     array, atleast_1d, sqrt, ceil, floor, array, poly1d, compress, not_equal, \
+     atleast_1d, sqrt, ceil, floor, array, poly1d, compress, not_equal, \
      pi, exp, ravel, angle
 import scipy
 import numpy

Modified: trunk/scipy/stats/tests/test_mmorestats.py
===================================================================
--- trunk/scipy/stats/tests/test_mmorestats.py	2008-09-18 19:30:13 UTC (rev 4728)
+++ trunk/scipy/stats/tests/test_mmorestats.py	2008-09-18 19:31:49 UTC (rev 4729)
@@ -9,7 +9,6 @@
 import numpy as np
 
 import numpy.ma as ma
-from numpy.ma import masked
 
 import scipy.stats.mstats as ms
 import scipy.stats.mmorestats as mms

Modified: trunk/scipy/stats/tests/test_stats.py
===================================================================
--- trunk/scipy/stats/tests/test_stats.py	2008-09-18 19:30:13 UTC (rev 4728)
+++ trunk/scipy/stats/tests/test_stats.py	2008-09-18 19:31:49 UTC (rev 4729)
@@ -6,7 +6,6 @@
 
 """
 
-import sys
 from numpy.testing import *
 from numpy import array, arange, zeros, ravel, float32, float64, power
 import numpy



More information about the Scipy-svn mailing list