[Numpy-discussion] Assumed 64bit-Incompatiblity in numpy svn test_regression
faltet at carabos.com
Mon Nov 27 00:02:11 CST 2006
El dg 26 de 11 del 2006 a les 16:12 +0100, en/na Jan-Matthias Braun va
> Hi all,
> after building current numpy from svn (1.0.1.dev3460 as of writing :), the
> call for numpy.test(10, 10) fails with following output added at the end of
> the mail.
> The Test seems seems to be made for Ticket #372, but the problem is a type
> mismatch between 32 and 64bit Integers as far as I can see.
Yes. It seems a flaw in the test design, not in the code itself. The
test is comparing int32 type values with the default int type. However,
the default type is platform dependent (int32 for 32-bit platform and
int64 for 64-bit platform). So, the default types comparisons should be
removed from the test.
> Should I file a ticket for this one?
Generally speaking it is always a good idea to open a ticket for
reporting tests that doesn't work, yes.
Francesc Altet | Be careful about using the following code --
Carabos Coop. V. | I've only proven that it works,
www.carabos.com | I haven't tested it. -- Donald Knuth
More information about the Numpy-discussion