diff options
author | Georg Brandl <georg@python.org> | 2010-02-07 17:03:15 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-02-07 17:03:15 +0000 |
commit | a4f46e129294c686ef1effdd89c459bd9a624e6d (patch) | |
tree | d8cf84a6f4a9a1a3e7ad10f8daec0ecd5f5674cb /Lib/test/test_float.py | |
parent | dc3694bee021480980d5b66a93f69ce137ee5be4 (diff) | |
download | cpython-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.py | 2 |
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), |