summaryrefslogtreecommitdiff
path: root/Lib/test/test_float.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-07 17:03:15 +0000
committerGeorg Brandl <georg@python.org>2010-02-07 17:03:15 +0000
commita4f46e129294c686ef1effdd89c459bd9a624e6d (patch)
treed8cf84a6f4a9a1a3e7ad10f8daec0ecd5f5674cb /Lib/test/test_float.py
parentdc3694bee021480980d5b66a93f69ce137ee5be4 (diff)
downloadcpython-git-a4f46e129294c686ef1effdd89c459bd9a624e6d.tar.gz
Remove unused imports in test modules.
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 ac155c90bd..b043c4d252 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),