[3.12] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122013)

(cherry picked from commit 1a0c7b9ba4)
This commit is contained in:
Serhiy Storchaka 2024-07-19 12:08:33 +03:00 committed by GitHub
parent e7130dc014
commit 39dea212f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
95 changed files with 232 additions and 232 deletions

View file

@ -35,7 +35,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]):