[pypy-commit] pypy refactor-signature: oops actually fix the test

fijal noreply at buildbot.pypy.org
Tue Dec 20 23:08:21 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: refactor-signature
Changeset: r50782:114830fb70f1
Date: 2011-12-21 00:06 +0200
http://bitbucket.org/pypy/pypy/changeset/114830fb70f1/

Log:	oops actually fix the test

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
@@ -911,10 +911,10 @@
         d = c[::2][::2]
         assert d[1] == 8
         b = a + a
-        c = c[::2]
+        c = b[::2]
         c[:] = 3
         assert b[0] == 3
-        assert b[1] == 4
+        assert b[1] == 2
 
     def test_tolist_scalar(self):
         from numpypy import int32, bool_


More information about the pypy-commit mailing list