diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-09-06 23:33:21 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-09-06 23:33:21 (GMT) |
commit | d43029ba5a38200f6244af3c2be566fca3c8d77a (patch) | |
tree | df526f07c5dd25bc7811ccad5639b38ca7336326 /Lib/test/test_float.py | |
parent | c770bbbf485ed25dba39aed17638920333d591ce (diff) | |
download | cpython-d43029ba5a38200f6244af3c2be566fca3c8d77a.zip cpython-d43029ba5a38200f6244af3c2be566fca3c8d77a.tar.gz cpython-d43029ba5a38200f6244af3c2be566fca3c8d77a.tar.bz2 |
Merged revisions 66277 via svnmerge from
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
........
Diffstat (limited to 'Lib/test/test_float.py')
-rw-r--r-- | Lib/test/test_float.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_float.py b/Lib/test/test_float.py index 98dce32..4f8446a 100644 --- a/Lib/test/test_float.py +++ b/Lib/test/test_float.py @@ -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 |