[pypy-commit] pypy numpy-record-dtypes: exact identity of dtypes is messy. We should rather check for sizes or so.

fijal noreply at buildbot.pypy.org
Tue Feb 7 11:45:47 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-record-dtypes
Changeset: r52160:a942567518c2
Date: 2012-02-07 12:45 +0200
http://bitbucket.org/pypy/pypy/changeset/a942567518c2/

Log:	exact identity of dtypes is messy. We should rather check for sizes
	or so. Disable for now

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
@@ -960,7 +960,7 @@
         assert array([True, False]).dtype is dtype(bool)
         assert array([True, 1]).dtype is dtype(int)
         assert array([1, 2, 3]).dtype is dtype(int)
-        assert array([1L, 2, 3]).dtype is dtype(long)
+        #assert array([1L, 2, 3]).dtype is dtype(long)
         assert array([1.2, True]).dtype is dtype(float)
         assert array([1.2, 5]).dtype is dtype(float)
         assert array([]).dtype is dtype(float)


More information about the pypy-commit mailing list