mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
fix missing module
This commit is contained in:
parent
9fb1aca5d8
commit
a853a89dc3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue