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_complex.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_complex.py')
-rw-r--r-- | Lib/test/test_complex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_complex.py b/Lib/test/test_complex.py index fa3017b..22d59c4 100644 --- a/Lib/test/test_complex.py +++ b/Lib/test/test_complex.py @@ -588,7 +588,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) |