diff options
author | Eli Bendersky <eliben@gmail.com> | 2011-02-25 10:14:17 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2011-02-25 10:14:17 (GMT) |
commit | 67ebabd1527d7b461ed6a4e853e100a19751368b (patch) | |
tree | 6e8f86933518d68ea83dda12caf22857df4b3dc3 /Lib/test/test_float.py | |
parent | cbbaa96036b8467c21f2c7127a3711fcb405d00f (diff) | |
download | cpython-67ebabd1527d7b461ed6a4e853e100a19751368b.zip cpython-67ebabd1527d7b461ed6a4e853e100a19751368b.tar.gz cpython-67ebabd1527d7b461ed6a4e853e100a19751368b.tar.bz2 |
Removed fcmp and FUZZ from test.support, following the discussion on python-dev:
http://mail.python.org/pipermail/python-dev/2011-January/107735.html
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 30cb4b9..72a2643 100644 --- a/Lib/test/test_float.py +++ b/Lib/test/test_float.py @@ -88,7 +88,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(support.fcmp(float(" .25e-1 "), .025), 0) + self.assertAlmostEqual(float(" .25e-1 "), .025) def test_floatconversion(self): # Make sure that calls to __float__() work properly |