diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2007-07-25 13:18:58 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2007-07-25 13:18:58 (GMT) |
commit | 55248d6c618bf416d0b0aceedb65b741a662db48 (patch) | |
tree | f57dbafd8a8483bb5e446f361396e43549bf3b46 /Lib | |
parent | d44a5afaa94ba7556bc89a16215ca2f7ece95f6e (diff) | |
download | cpython-55248d6c618bf416d0b0aceedb65b741a662db48.zip cpython-55248d6c618bf416d0b0aceedb65b741a662db48.tar.gz cpython-55248d6c618bf416d0b0aceedb65b741a662db48.tar.bz2 |
Add a temporary diagnostic message before a strange failure on the alpha Debian buildbot
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_pow.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_pow.py b/Lib/test/test_pow.py index c6ab218..c4aeb19 100644 --- a/Lib/test/test_pow.py +++ b/Lib/test/test_pow.py @@ -106,6 +106,12 @@ class PowTest(unittest.TestCase): # platform pow() was buggy, and Python didn't worm around it. eq = self.assertEquals a = -1.0 + # XXX Temporary diagnostic for failure on alpha Debian buildbot + from sys import __stdout__ + from math import floor + print >> __stdout__, "*** Number: %r" % 1.23e167 + print >> __stdout__, "*** Floor: %r" % floor(1.23e167) + # XXX End diagnostic message eq(pow(a, 1.23e167), 1.0) eq(pow(a, -1.23e167), 1.0) for b in range(-10, 11): |