Author: Maciej Fijalkowski <[email protected]>
Branch: numpy-multidim-shards
Changeset: r49487:1bc7731d90fd
Date: 2011-11-17 09:38 +0200
http://bitbucket.org/pypy/pypy/changeset/1bc7731d90fd/
Log: fix compile tests
diff --git a/pypy/module/micronumpy/compile.py
b/pypy/module/micronumpy/compile.py
--- a/pypy/module/micronumpy/compile.py
+++ b/pypy/module/micronumpy/compile.py
@@ -286,7 +286,8 @@
w_list = interp.space.newlist(
[interp.space.wrap(float(i)) for i in range(self.v)])
dtype = interp.space.fromcache(W_Float64Dtype)
- return descr_new_array(interp.space, None, w_list, w_dtype=dtype)
+ return descr_new_array(interp.space, None, w_list, w_dtype=dtype,
+ w_order=None)
def __repr__(self):
return 'Range(%s)' % self.v
@@ -308,7 +309,8 @@
def execute(self, interp):
w_list = self.wrap(interp.space)
dtype = interp.space.fromcache(W_Float64Dtype)
- return descr_new_array(interp.space, None, w_list, w_dtype=dtype)
+ return descr_new_array(interp.space, None, w_list, w_dtype=dtype,
+ w_order=None)
def __repr__(self):
return "[" + ", ".join([repr(item) for item in self.items]) + "]"
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit