summaryrefslogtreecommitdiff
path: root/Lib/test/test_float.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-01-21 23:35:11 +0000
committerMark Dickinson <dickinsm@gmail.com>2008-01-21 23:35:11 +0000
commit9f26fcce04e8347bef539dcdbc51ad40a56fca18 (patch)
treec3f690063a80478885dbc731bc666ce4b2b0ca00 /Lib/test/test_float.py
parent2bebadfe517c8c3c5a24f246eb44b5fa9dfc2cf3 (diff)
downloadcpython-git-9f26fcce04e8347bef539dcdbc51ad40a56fca18.tar.gz
Remove extra test that was accidentally backported from the trunk
Diffstat (limited to 'Lib/test/test_float.py')
-rw-r--r--Lib/test/test_float.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_float.py b/Lib/test/test_float.py
index 2f0d7840c8..66950a43ec 100644
--- a/Lib/test/test_float.py
+++ b/Lib/test/test_float.py
@@ -113,14 +113,6 @@ class IEEEFormatTestCase(unittest.TestCase):
self.assertEquals(pos_pos(), neg_pos())
self.assertEquals(pos_neg(), neg_neg())
- if float.__getformat__("double").startswith("IEEE"):
- def test_underflow_sign(self):
- import math
- # check that -1e-1000 gives -0.0, not 0.0
- self.assertEquals(math.atan2(-1e-1000, -1), math.atan2(-0.0, -1))
- self.assertEquals(math.atan2(float('-1e-1000'), -1),
- math.atan2(-0.0, -1))
-
def test_main():
test_support.run_unittest(
FormatFunctionsTestCase,