diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-07-19 09:13:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 09:13:08 (GMT) |
commit | a45d9051ed8488b169cbcb12b036120c0e853b9c (patch) | |
tree | 7d442b10ef935a9985059da5691241f965592447 /Lib/test/test_format.py | |
parent | 225cbee8d8ced55c2edb16f9cdc73cd05bf0f67b (diff) | |
download | cpython-a45d9051ed8488b169cbcb12b036120c0e853b9c.zip cpython-a45d9051ed8488b169cbcb12b036120c0e853b9c.tar.gz cpython-a45d9051ed8488b169cbcb12b036120c0e853b9c.tar.bz2 |
[3.13] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122012)
(cherry picked from commit 1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356)
Diffstat (limited to 'Lib/test/test_format.py')
-rw-r--r-- | Lib/test/test_format.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_format.py b/Lib/test/test_format.py index 8cef621..8d83880 100644 --- a/Lib/test/test_format.py +++ b/Lib/test/test_format.py @@ -36,7 +36,7 @@ def testformat(formatstr, args, output=None, limit=None, overflowok=False): # when 'limit' is specified, it determines how many characters # must match exactly; lengths must always match. # ex: limit=5, '12345678' matches '12345___' - # (mainly for floating point format tests for which an exact match + # (mainly for floating-point format tests for which an exact match # can't be guaranteed due to rounding and representation errors) elif output and limit is not None and ( len(result)!=len(output) or result[:limit]!=output[:limit]): |