summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_complex.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_complex.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_complex.py')
-rw-r--r--Lib/test/test_complex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_complex.py b/Lib/test/test_complex.py
index e3a2205..c5a06c5 100644
--- a/Lib/test/test_complex.py
+++ b/Lib/test/test_complex.py
@@ -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)