[issue10337] testTanh() of test_math fails on "NetBSD 5 i386 3.x"

Mark Dickinson report at bugs.python.org
Sun Nov 7 12:07:55 CET 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

I'm not sure what can reasonably be done about these failures.  The Python test is failing because of a deficiency in the system math library.

Adding extra code to Python to handle this (making use of TANH_PRESERVES_ZERO_SIGN) is an option, but it seems like overkill to me.

I definitely don't want to remove these tests---they're valuable.  If there's a way of marking the test as an expected failure on NetBSD 5 then that would be fine, I guess.

We should also report the problem upstream.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10337>
_______________________________________


More information about the Python-bugs-list mailing list