summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_float.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-04-02 19:24:36 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-04-02 19:24:36 (GMT)
commit1db6e103d8ae22f604559e18a1d182185ac8dd5c (patch)
treed2e2c812b7fcfdb02527c237f0c81b0c7ff2b9ef /Lib/test/test_float.py
parent87cc591e67b6292e9217962287d7e8e44781d96e (diff)
downloadcpython-1db6e103d8ae22f604559e18a1d182185ac8dd5c.zip
cpython-1db6e103d8ae22f604559e18a1d182185ac8dd5c.tar.gz
cpython-1db6e103d8ae22f604559e18a1d182185ac8dd5c.tar.bz2
Undo temporary commits r79601 and r79560.
Diffstat (limited to 'Lib/test/test_float.py')
-rw-r--r--Lib/test/test_float.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/Lib/test/test_float.py b/Lib/test/test_float.py
index af857d2..636197a 100644
--- a/Lib/test/test_float.py
+++ b/Lib/test/test_float.py
@@ -372,14 +372,6 @@ class HexFloatTestCase(unittest.TestCase):
return
elif x == y and (x != 0.0 or copysign(1.0, x) == copysign(1.0, y)):
return
- # temporary debugging code for issue 8265
- print("\n MIN = {0!r}\n"
- " TINY = {1!r}\n"
- " 3*TINY = {2!r}\n"
- " MIN - 3*TINY = {3!r}\n"
- " ldexp(1.0, -1074) = {4!r}\n".format(
- self.MIN, self.TINY, 3*self.TINY,
- self.MIN - 3*self.TINY, ldexp(1.0, -1074)))
self.fail('%r not identical to %r' % (x, y))
def test_ends(self):
@@ -662,7 +654,7 @@ class HexFloatTestCase(unittest.TestCase):
self.identical(fromHex('-0X8p-1076'), -2*TINY)
self.identical(fromHex('-0X9p-1076'), -2*TINY)
self.identical(fromHex('-0Xap-1076'), -2*TINY)
- self.identical(fromHex('-0xbp-1076'), -3*TINY)
+ self.identical(fromHex('-0xbp-1076'), -4*TINY)
self.identical(fromHex('-0xcp-1076'), -3*TINY)
self.identical(fromHex('-0Xdp-1076'), -3*TINY)
self.identical(fromHex('-0xep-1076'), -4*TINY)