diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-08-04 20:56:28 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-08-04 20:56:28 (GMT) |
commit | 388122d43b2b6bb41774d9680b9ad3bc05682f85 (patch) | |
tree | 4b3059b3dbd916fde44702e732f507788c433fbf /Lib/test/test_tokenize.py | |
parent | b6c50749207688902a6378958da474f7c31f179d (diff) | |
download | cpython-388122d43b2b6bb41774d9680b9ad3bc05682f85.zip cpython-388122d43b2b6bb41774d9680b9ad3bc05682f85.tar.gz cpython-388122d43b2b6bb41774d9680b9ad3bc05682f85.tar.bz2 |
Issue #9337: Make float.__str__ identical to float.__repr__.
(And similarly for complex numbers.)
Diffstat (limited to 'Lib/test/test_tokenize.py')
-rw-r--r-- | Lib/test/test_tokenize.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py index d0853d3..4b56699 100644 --- a/Lib/test/test_tokenize.py +++ b/Lib/test/test_tokenize.py @@ -598,11 +598,11 @@ def decistmt(s): The format of the exponent is inherited from the platform C library. Known cases are "e-007" (Windows) and "e-07" (not Windows). Since - we're only showing 12 digits, and the 13th isn't close to 5, the + we're only showing 11 digits, and the 12th isn't close to 5, the rest of the output should be platform-independent. >>> exec(s) #doctest: +ELLIPSIS - -3.21716034272e-0...7 + -3.2171603427...e-0...7 Output from calculations with Decimal should be identical across all platforms. |