Discussion:
[Python-3000-checkins] r66278 - in python/branches/py3k: Lib/test/test_float.py
benjamin.peterson
2008-09-06 23:33:21 UTC
Permalink
Author: benjamin.peterson
Date: Sun Sep 7 01:33:21 2008
New Revision: 66278

Log:
Merged revisions 66277 via svnmerge from
svn+ssh://pythondev at svn.python.org/python/trunk

........
r66277 | benjamin.peterson | 2008-09-06 18:19:15 -0500 (Sat, 06 Sep 2008) | 1 line

fix missing module
........


Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Lib/test/test_float.py

Modified: python/branches/py3k/Lib/test/test_float.py
==============================================================================
--- python/branches/py3k/Lib/test/test_float.py (original)
+++ python/branches/py3k/Lib/test/test_float.py Sun Sep 7 01:33:21 2008
@@ -51,7 +51,7 @@
self.assertRaises(ValueError, float, " -0x3.p-1 ")
self.assertRaises(ValueError, float, " +0x3.p-1 ")
self.assertEqual(float(" 25.e-1 "), 2.5)
- self.assertEqual(fcmp(float(" .25e-1 "), .025), 0)
+ self.assertEqual(support.fcmp(float(" .25e-1 "), .025), 0)

def test_floatconversion(self):
# Make sure that calls to __float__() work properly

Loading...