[pypy-commit] pypy numpy-dtype-alt: fix for 32bits.

alex_gaynor noreply at buildbot.pypy.org
Sun Aug 28 07:54:29 CEST 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: numpy-dtype-alt
Changeset: r46848:61b579532dcb
Date: 2011-08-28 05:54 +0000
http://bitbucket.org/pypy/pypy/changeset/61b579532dcb/

Log:	fix for 32bits.

diff --git a/pypy/module/micronumpy/test/test_ufuncs.py b/pypy/module/micronumpy/test/test_ufuncs.py
--- a/pypy/module/micronumpy/test/test_ufuncs.py
+++ b/pypy/module/micronumpy/test/test_ufuncs.py
@@ -112,7 +112,7 @@
 
         x = maximum(2, 3)
         assert x == 3
-        assert type(x) is int
+        assert isinstance(x, (int, long))
 
     def test_multiply(self):
         from numpy import array, multiply


More information about the pypy-commit mailing list