summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_format.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-07-19 08:06:02 (GMT)
committerGitHub <noreply@github.com>2024-07-19 08:06:02 (GMT)
commit1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356 (patch)
treedf3bcce3fcd01a8230304dad9431cfab8ef406cb /Lib/test/test_format.py
parent420d94312824825a18fa1fd9a36773626a54d97a (diff)
downloadcpython-1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356.zip
cpython-1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356.tar.gz
cpython-1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356.tar.bz2
gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907)
Diffstat (limited to 'Lib/test/test_format.py')
-rw-r--r--Lib/test/test_format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_format.py b/Lib/test/test_format.py
index d202615..9dde63e 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]):