[Numpy-svn] r3591 - in trunk/numpy: core lib/tests

numpy-svn at scipy.org numpy-svn at scipy.org
Fri Mar 23 08:08:23 EDT 2007


Author: stefan
Date: 2007-03-23 07:08:06 -0500 (Fri, 23 Mar 2007)
New Revision: 3591

Modified:
   trunk/numpy/core/memmap.py
   trunk/numpy/lib/tests/test_function_base.py
Log:
Replace tabs with spaces.


Modified: trunk/numpy/core/memmap.py
===================================================================
--- trunk/numpy/core/memmap.py	2007-03-22 22:49:17 UTC (rev 3590)
+++ trunk/numpy/core/memmap.py	2007-03-23 12:08:06 UTC (rev 3591)
@@ -85,7 +85,7 @@
         self._mmap.flush()
 
     def close(self):
-	self._mmap.close()
+        self._mmap.close()
 
     def __del__(self):
         if self._mmap is not None:

Modified: trunk/numpy/lib/tests/test_function_base.py
===================================================================
--- trunk/numpy/lib/tests/test_function_base.py	2007-03-22 22:49:17 UTC (rev 3590)
+++ trunk/numpy/lib/tests/test_function_base.py	2007-03-23 12:08:06 UTC (rev 3591)
@@ -283,19 +283,19 @@
 
 class test_digitize(NumpyTestCase):
     def check_forward(self):
-	x = arange(-6,5)
-	bins = arange(-5,5)
-	assert_array_equal(digitize(x,bins),arange(11))
+        x = arange(-6,5)
+        bins = arange(-5,5)
+        assert_array_equal(digitize(x,bins),arange(11))
 
     def check_reverse(self):
-	x = arange(5,-6,-1)
-	bins = arange(5,-5,-1)
-	assert_array_equal(digitize(x,bins),arange(11))
+        x = arange(5,-6,-1)
+        bins = arange(5,-5,-1)
+        assert_array_equal(digitize(x,bins),arange(11))
 
     def check_random(self):
-	x = rand(10)
-	bin = linspace(x.min(), x.max(), 10)
-	assert all(digitize(x,bin) != 0)
+        x = rand(10)
+        bin = linspace(x.min(), x.max(), 10)
+        assert all(digitize(x,bin) != 0)
 
 class test_unwrap(NumpyTestCase):
     def check_simple(self):




More information about the Numpy-svn mailing list