gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907)

This commit is contained in:
Serhiy Storchaka 2024-07-19 11:06:02 +03:00 committed by GitHub
parent 420d943128
commit 1a0c7b9ba4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
100 changed files with 241 additions and 241 deletions

View file

@ -717,7 +717,7 @@ class ComplexTest(unittest.TestCase):
def test_hash(self):
for x in range(-30, 30):
self.assertEqual(hash(x), hash(complex(x, 0)))
x /= 3.0 # now check against floating point
x /= 3.0 # now check against floating-point
self.assertEqual(hash(x), hash(complex(x, 0.)))
self.assertNotEqual(hash(2000005 - 1j), -1)