[pypy-commit] pypy default: make the test assert something

fijal noreply at buildbot.pypy.org
Thu Jul 21 10:43:39 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r45800:96cbeff5195d
Date: 2011-07-21 10:42 +0200
http://bitbucket.org/pypy/pypy/changeset/96cbeff5195d/

Log:	make the test assert something

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
@@ -115,9 +115,9 @@
         assert a[4] == 11.
         a = zeros(10)
         a[::2][::-1][::2] = array(range(1,4))
-        a[8] = 1.
-        a[4] = 2.
-        a[0] = 3.
+        assert a[8] == 1.
+        assert a[4] == 2.
+        assert a[0] == 3.
 
     def test_setslice_list(self):
         from numpy import array


More information about the pypy-commit mailing list