]> granicus.if.org Git - python/commitdiff
Merged revisions 66277 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Sat, 6 Sep 2008 23:33:21 +0000 (23:33 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 6 Sep 2008 23:33:21 +0000 (23:33 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

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

  fix missing module
........

Lib/test/test_float.py

index 98dce32346e7c1f3eb7e71ead2880f7b2daa77f9..4f8446a98d8bd713cc79604506572fabed93b5a0 100644 (file)
@@ -51,7 +51,7 @@ class GeneralFloatCases(unittest.TestCase):
         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