summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_float.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_float.py')
-rw-r--r--Lib/test/test_float.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_float.py b/Lib/test/test_float.py
index ac155c9..b043c4d 100644
--- a/Lib/test/test_float.py
+++ b/Lib/test/test_float.py
@@ -523,7 +523,6 @@ class IEEEFormatTestCase(unittest.TestCase):
if float.__getformat__("double").startswith("IEEE"):
def test_negative_zero(self):
- import math
def pos_pos():
return 0.0, math.atan2(0.0, -1)
def pos_neg():
@@ -537,7 +536,6 @@ class IEEEFormatTestCase(unittest.TestCase):
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),