]> granicus.if.org Git - python/commitdiff
Remove extra test that was accidentally backported from the trunk
authorMark Dickinson <dickinsm@gmail.com>
Mon, 21 Jan 2008 23:35:11 +0000 (23:35 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Mon, 21 Jan 2008 23:35:11 +0000 (23:35 +0000)
Lib/test/test_float.py

index 2f0d7840c8cebfd2d8ac85048d7ee72bba9ef794..66950a43ec0b7f79eaa6f55a59fcf8ebf5b7312a 100644 (file)
@@ -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,