From: Benjamin Peterson Date: Sat, 6 Sep 2008 23:19:15 +0000 (+0000) Subject: fix missing module X-Git-Tag: v2.6rc1~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a853a89dc3c57941a15a7463cf59dfad775a7e5f;p=thirdparty%2FPython%2Fcpython.git fix missing module --- diff --git a/Lib/test/test_float.py b/Lib/test/test_float.py index 580480292bc4..2b6bd781cab0 100644 --- a/Lib/test/test_float.py +++ b/Lib/test/test_float.py @@ -55,7 +55,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(test_support.fcmp(float(" .25e-1 "), .025), 0) def test_floatconversion(self): # Make sure that calls to __float__() work properly