[Python-checkins] r60186 - python/branches/release25-maint/Lib/test/test_float.py
mark.dickinson
python-checkins at python.org
Tue Jan 22 00:35:12 CET 2008
Author: mark.dickinson
Date: Tue Jan 22 00:35:11 2008
New Revision: 60186
Modified:
python/branches/release25-maint/Lib/test/test_float.py
Log:
Remove extra test that was accidentally backported from the trunk
Modified: python/branches/release25-maint/Lib/test/test_float.py
==============================================================================
--- python/branches/release25-maint/Lib/test/test_float.py (original)
+++ python/branches/release25-maint/Lib/test/test_float.py Tue Jan 22 00:35:11 2008
@@ -113,14 +113,6 @@
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,
More information about the Python-checkins
mailing list