summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-10-26 21:11:20 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-10-26 21:11:20 (GMT)
commit8568b198506b4d2ff3c0dc847f75989865b1e33e (patch)
tree9f9f6150ffc106bad3e2cd7e89b728ac2fddeb44 /Lib/test
parent3e1eb0f715b804f87fb1b0cf3ec6576d15ff0663 (diff)
downloadcpython-8568b198506b4d2ff3c0dc847f75989865b1e33e.zip
cpython-8568b198506b4d2ff3c0dc847f75989865b1e33e.tar.gz
cpython-8568b198506b4d2ff3c0dc847f75989865b1e33e.tar.bz2
Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
floatobject.c. Also, remove limitation on length of unicode inputs to float().
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_float.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_float.py b/Lib/test/test_float.py
index 844a649..9d0c69d 100644
--- a/Lib/test/test_float.py
+++ b/Lib/test/test_float.py
@@ -31,8 +31,6 @@ class GeneralFloatCases(unittest.TestCase):
if test_support.have_unicode:
self.assertEqual(float(unicode(" 3.14 ")), 3.14)
self.assertEqual(float(unicode(" \u0663.\u0661\u0664 ",'raw-unicode-escape')), 3.14)
- # Implementation limitation in PyFloat_FromString()
- self.assertRaises(ValueError, float, unicode("1"*10000))
@test_support.run_with_locale('LC_NUMERIC', 'fr_FR', 'de_DE')
def test_float_with_comma(self):