[Numpy-svn] r8243 - trunk/numpy/core/tests

numpy-svn@scip... numpy-svn@scip...
Sun Feb 21 10:16:29 CST 2010


Author: charris
Date: 2010-02-21 10:16:29 -0600 (Sun, 21 Feb 2010)
New Revision: 8243

Modified:
   trunk/numpy/core/tests/test_datetime.py
Log:
WHT: Remove trailing whitespace.

Modified: trunk/numpy/core/tests/test_datetime.py
===================================================================
--- trunk/numpy/core/tests/test_datetime.py	2010-02-21 15:37:06 UTC (rev 8242)
+++ trunk/numpy/core/tests/test_datetime.py	2010-02-21 16:16:29 UTC (rev 8243)
@@ -6,12 +6,12 @@
     def test_creation(self):
         for unit in ['Y', 'M', 'W', 'B', 'D',
                      'h', 'm', 's', 'ms', 'us',
-                     'ns', 'ps', 'fs', 'as']:            
+                     'ns', 'ps', 'fs', 'as']:
             dt1 = np.dtype('M8[750%s]'%unit)
             assert dt1 == np.dtype('datetime64[750%s]' % unit)
             dt2 = np.dtype('m8[%s]' % unit)
             assert dt2 == np.dtype('timedelta64[%s]' % unit)
-        
+
     def test_divisor_conversion_year(self):
         assert np.dtype('M8[Y/4]') == np.dtype('M8[3M]')
         assert np.dtype('M8[Y/13]') == np.dtype('M8[4W]')
@@ -26,8 +26,8 @@
         assert np.dtype('m8[W/5]') == np.dtype('m8[B]')
         assert np.dtype('m8[W/7]') == np.dtype('m8[D]')
         assert np.dtype('m8[3W/14]') == np.dtype('m8[36h]')
-        assert np.dtype('m8[5W/140]') == np.dtype('m8[360m]') 
-        
+        assert np.dtype('m8[5W/140]') == np.dtype('m8[360m]')
+
     def test_divisor_conversion_bday(self):
         assert np.dtype('M8[B/12]') == np.dtype('M8[2h]')
         assert np.dtype('M8[B/120]') == np.dtype('M8[12m]')
@@ -56,4 +56,3 @@
 
     def test_divisor_conversion_as(self):
         self.assertRaises(ValueError, lambda : np.dtype('M8[as/10]'))
-



More information about the Numpy-svn mailing list