summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_math.py
diff options
context:
space:
mode:
authorMin ho Kim <minho42@gmail.com>2019-07-21 20:12:33 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-07-21 20:12:33 (GMT)
commit96e12d5f4f3c5a20986566038ee763dff3c228a1 (patch)
treeae4039f978a155a295903e084f4531d42b8cf7a8 /Lib/test/test_math.py
parent8e3a7380ecb310b50e48f47d1f26190cc9c45eb6 (diff)
downloadcpython-96e12d5f4f3c5a20986566038ee763dff3c228a1.zip
cpython-96e12d5f4f3c5a20986566038ee763dff3c228a1.tar.gz
cpython-96e12d5f4f3c5a20986566038ee763dff3c228a1.tar.bz2
Fix typos in docs, comments and test assert messages (#14872)
Diffstat (limited to 'Lib/test/test_math.py')
-rw-r--r--Lib/test/test_math.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py
index 393cdaf..567a5c6 100644
--- a/Lib/test/test_math.py
+++ b/Lib/test/test_math.py
@@ -1875,7 +1875,7 @@ class IsCloseTests(unittest.TestCase):
def testPerm(self):
perm = math.perm
factorial = math.factorial
- # Test if factorial defintion is satisfied
+ # Test if factorial definition is satisfied
for n in range(100):
for k in range(n + 1):
self.assertEqual(perm(n, k),
@@ -1939,7 +1939,7 @@ class IsCloseTests(unittest.TestCase):
def testComb(self):
comb = math.comb
factorial = math.factorial
- # Test if factorial defintion is satisfied
+ # Test if factorial definition is satisfied
for n in range(100):
for k in range(n + 1):
self.assertEqual(comb(n, k), factorial(n)