[Numpy-svn] r6455 - trunk/numpy/lib/tests

numpy-svn@scip... numpy-svn@scip...
Sun Feb 22 07:47:34 CST 2009


Author: stefan
Date: 2009-02-22 07:47:14 -0600 (Sun, 22 Feb 2009)
New Revision: 6455

Modified:
   trunk/numpy/lib/tests/test_io.py
Log:
Whitespace cleanup.

Modified: trunk/numpy/lib/tests/test_io.py
===================================================================
--- trunk/numpy/lib/tests/test_io.py	2009-02-22 13:45:15 UTC (rev 6454)
+++ trunk/numpy/lib/tests/test_io.py	2009-02-22 13:47:14 UTC (rev 6455)
@@ -1,4 +1,3 @@
-
 import numpy as np
 import numpy.ma as ma
 from numpy.ma.testutils import *
@@ -699,7 +698,7 @@
 
 
     def test_user_missing_values(self):
-        datastr ="A, B, C\n0, 0., 0j\n1, N/A, 1j\n-9, 2.2, N/A\n3, -99, 3j" 
+        datastr ="A, B, C\n0, 0., 0j\n1, N/A, 1j\n-9, 2.2, N/A\n3, -99, 3j"
         data = StringIO.StringIO(datastr)
         basekwargs = dict(dtype=None, delimiter=',', names=True, missing='N/A')
         mdtype = [('A', int), ('B', float), ('C', complex)]
@@ -712,7 +711,7 @@
         assert_equal(test, control)
         #
         data.seek(0)
-        test = np.mafromtxt(data, 
+        test = np.mafromtxt(data,
                             missing_values={0:-9, 1:-99, 2:-999j}, **basekwargs)
         control = ma.array([(   0, 0.0,    0j), (1, -999, 1j),
                             (  -9, 2.2, -999j), (3,  -99, 3j)],
@@ -721,7 +720,7 @@
         assert_equal(test, control)
         #
         data.seek(0)
-        test = np.mafromtxt(data, 
+        test = np.mafromtxt(data,
                             missing_values={0:-9, 'B':-99, 'C':-999j},
                             **basekwargs)
         control = ma.array([(   0, 0.0,    0j), (1, -999, 1j),



More information about the Numpy-svn mailing list