Commits

Brian Kearns committed 83fa1f9

cleanup

Comments (0)

Files changed (2)

pypy/module/micronumpy/interp_boxes.py

     pass
 
 class W_IntegerBox(W_NumberBox):
-    def int_w(self, space):
-        return space.int_w(self.descr_int(space))
+    pass
 
 class W_SignedIntegerBox(W_IntegerBox):
     pass

pypy/module/micronumpy/test/test_numarray.py

         assert a.itemsize == 3
         a = array(3.1415).astype('S3').dtype
         assert a.itemsize == 3
-        try:
+
+        import sys
+        if '__pypy__' not in sys.builtin_module_names:
             a = array(['1', '2','3']).astype(float)
             assert a[2] == 3.0
-        except NotImplementedError:
-            skip('astype("float") not implemented for str arrays')
+        else:
+            raises(NotImplementedError, array(['1', '2', '3']).astype, float)
 
     def test_base(self):
         from numpypy import array