Author: Brian Kearns <[email protected]>
Branch: 
Changeset: r61029:db8798f2b416
Date: 2013-02-10 03:27 -0500
http://bitbucket.org/pypy/pypy/changeset/db8798f2b416/

Log:    another fix for numpy test_abstract_types on 32bit

diff --git a/pypy/module/micronumpy/test/test_dtypes.py 
b/pypy/module/micronumpy/test/test_dtypes.py
--- a/pypy/module/micronumpy/test/test_dtypes.py
+++ b/pypy/module/micronumpy/test/test_dtypes.py
@@ -277,13 +277,12 @@
         a_i = numpy.array([4,4], numpy.integer)
         a_s = numpy.array([4,4], numpy.signedinteger)
         a_u = numpy.array([4,4], numpy.unsignedinteger)
+        assert a_n.dtype is numpy.dtype('float64')
         if self.ptr_size == 4:
-            assert a_n.dtype is numpy.dtype('float32')
             assert a_i.dtype is numpy.dtype('int32')
             assert a_s.dtype is numpy.dtype('int32')
             assert a_u.dtype is numpy.dtype('uint32')
         else:
-            assert a_n.dtype is numpy.dtype('float64')
             assert a_i.dtype is numpy.dtype('int64')
             assert a_s.dtype is numpy.dtype('int64')
             assert a_u.dtype is numpy.dtype('uint64')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to