On Thu, 12 Jan 2017 20:30:37 +0100 Gilles Filippini <p...@debian.org> wrote: > Relevant part is: > > FAIL: numpy_test () > Doctest: numpy_test > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/usr/lib/python2.7/doctest.py", line 2226, in runTest > raise self.failureException(self.format_failure(new.getvalue())) > AssertionError: Failed doctest test for numpy_test > File > "/<<PKGBUILDDIR>>/build/work-dir/3/run/c/numpy_test/numpy_test.so", line > 944, in numpy_test > > ---------------------------------------------------------------------- > File "/<<PKGBUILDDIR>>/build/work-dir/3/run/c/numpy_test/numpy_test.so", > line 1139, in numpy_test > Failed example: > test_point_record() > Expected: > array([(0.0, 0.0), (1.0, -1.0), (2.0, -2.0)], > dtype=[('x', '!f8'), ('y', '!f8')]) > Got: > array([( 0., 0.), ( 1., -1.), ( 2., -2.)], > dtype=[('x', '!f8'), ('y', '!f8')]) > > Should this be ignored?
Python + numpy has the same behavior: $ python3 Python 3.5.2+ (default, Dec 13 2016, 14:16:35) [GCC 6.2.1 20161124] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import numpy as np >>> np.array([(0, 0), (1, -1), (2, -2)], [('x', np.float64), ('y', np.float64)]) array([( 0., 0.), ( 1., -1.), ( 2., -2.)], dtype=[('x', '<f8'), ('y', '<f8')]) >>> $ python Python 2.7.13 (default, Dec 18 2016, 20:19:42) [GCC 6.2.1 20161215] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import numpy as np >>> np.array([(0, 0), (1, -1), (2, -2)], [('x', np.float64), ('y', np.float64)]) array([( 0., 0.), ( 1., -1.), ( 2., -2.)], dtype=[('x', '<f8'), ('y', '<f8')]) >>> _g.
signature.asc
Description: OpenPGP digital signature