[pypy-commit] pypy default: Remove tabs.
arigo
noreply at buildbot.pypy.org
Sat Aug 27 10:12:15 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r46814:fc3b9ce607d6
Date: 2011-08-27 10:18 +0200
http://bitbucket.org/pypy/pypy/changeset/fc3b9ce607d6/
Log: Remove tabs.
diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py
--- a/pypy/module/micronumpy/interp_numarray.py
+++ b/pypy/module/micronumpy/interp_numarray.py
@@ -178,8 +178,8 @@
def descr_sort(self, space):
size = self.find_size()
- stack = [(0,size-1)]
- first=0; last=size-1; splitpoint=first;
+ stack = [(0,size-1)]
+ first=0; last=size-1; splitpoint=first;
while (len(stack) > 0):
first, last = stack.pop()
while last>first:
diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy/test/test_numarray.py
--- a/pypy/module/micronumpy/test/test_numarray.py
+++ b/pypy/module/micronumpy/test/test_numarray.py
@@ -432,13 +432,13 @@
a = [3.0,4.0,0.0,-1.0]
b = array(a)
a.sort()
- b.sort()
+ b.sort()
assert(len(a)==len(b))
for i in range(len(a)):
assert(a[i]==b[i])
- a = array(list(reversed(range(6))))
- b = array(range(6))
- a.sort()
+ a = array(list(reversed(range(6))))
+ b = array(range(6))
+ a.sort()
assert(len(a)==len(b))
for i in range(len(a)):
assert(a[i]==b[i])
More information about the pypy-commit
mailing list