[pypy-commit] pypy newindex: fix a couple more function names

MichaelBlume noreply at buildbot.pypy.org
Sat Mar 17 09:38:33 CET 2012


Author: Mike Blume <mike at loggly.com>
Branch: newindex
Changeset: r53755:4993a391e3b0
Date: 2012-03-14 17:20 -0700
http://bitbucket.org/pypy/pypy/changeset/4993a391e3b0/

Log:	fix a couple more function names

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
@@ -374,14 +374,14 @@
         assert a[1] == 0.
         assert a[3] == 0.
 
-    def test_newindex(self):
+    def test_newaxis(self):
         from _numpypy import array
         from numpypy.core.numeric import newaxis
         a = array(range(5))
         b = array([range(5)])
         assert (a[newaxis] == b).all()
 
-    def test_newindex_slice(self):
+    def test_newaxis_slice(self):
         from _numpypy import array
         from numpypy.core.numeric import newaxis
 


More information about the pypy-commit mailing list