Remove unused imports in test modules.

This commit is contained in:
Georg Brandl 2010-02-07 17:03:15 +00:00
parent dc3694bee0
commit a4f46e1292
74 changed files with 40 additions and 135 deletions

View file

@ -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),