New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark expected failures of test_math, test_cmath and test_round as such. #51500
Comments
There are some buildbot failures due to platform-specific bugs that need
http://www.python.org/dev/buildbot/builders/x86%20FreeBSD%20trunk/builds/2741
http://www.python.org/dev/buildbot/builders/alpha%20Debian%20trunk/builds/30 |
Oops. I meant 'platform' bugs, not 'platform-specific' bugs. These are |
For 2.6.4 I get a test_float failure on Solaris as well: test test_float failed -- Traceback (most recent call last):
File "/home/tuba/skipm/src/python/Python-2.6.4/Lib/test/test_float.py",
line 765, in test_roundtrip
self.identical(-x, roundtrip(-x))
File "/home/tuba/skipm/src/python/Python-2.6.4/Lib/test/test_float.py",
line 375, in identical
self.fail('%r not identical to %r' % (x, y))
AssertionError: -0.0 not identical to 0.0 Haven't looked at 2.7 or 3.1 yet, but it seems to fall into the same |
May be one day python modules will deal with TANH_PRESERVES_ZERO_SIGN |
Skip, that looks like a float.hex failure. I'm not sure what the Python 2.6.4+ (release26-maint:76116, Nov 5 2009, 13:30:59)
[GCC 4.0.1 (Apple Inc. build 5490)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import math
>>> (-0.0).hex()
'-0x0.0p+0'
>>> float.fromhex((-0.0).hex())
-0.0
>>> math.copysign(1.0, -0.0)
-1.0 Also, is HAVE_COPYSIGN defined in pyconfig.h? |
Maybe. I added that configure check mainly as a diagnostic, to verify a |
The test_round failure on Debian alpha is likely related to this glibc |
The round tests for large values have been broken out into their own test; The round function itself needs fixing in release26-maint: issue bpo-7070. |
The round function in release26-maint is fixed (r76179). I'm not sure |
The tanh-related failures are no longer happening, since the FreeBSD I'm still worried by Skip's report, but that's a separate issue. Closing. |
Postscript: the failure Skip reported looks like a duplicate of bpo-9069, which was tracked down to a gcc compiler bug in gcc 4.4.x (x <= 4) and gcc 4.5.x (x <= 0). That compiler bug is now fixed. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: