[pypy-commit] pypy default: a failing test

alex_gaynor noreply at buildbot.pypy.org
Tue Feb 21 16:56:15 CET 2012


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r52739:4d956cf97a10
Date: 2012-02-21 10:55 -0500
http://bitbucket.org/pypy/pypy/changeset/4d956cf97a10/

Log:	a failing test

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
@@ -371,6 +371,8 @@
         assert type(a[1]) is numpy.float64
         assert numpy.dtype(float).type is numpy.float64
 
+        assert "{}".format(numpy.float64(3)) == "3.0"
+
         assert numpy.float64(2.0) == 2.0
         assert numpy.float64('23.4') == numpy.float64(23.4)
         raises(ValueError, numpy.float64, '23.2df')


More information about the pypy-commit mailing list