summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_math.py
diff options
context:
space:
mode:
authorSergey B Kirpichev <skirpichev@gmail.com>2023-01-29 19:50:10 (GMT)
committerGitHub <noreply@github.com>2023-01-29 19:50:10 (GMT)
commit0ef92d979311ba82d4c41b22ef38e12e1b08b13d (patch)
treeebaf07f12852edaf9f858e41c5e15b1df37f4034 /Lib/test/test_math.py
parent666c0840dcac9941fa41ec619fef8d45cd849a0b (diff)
downloadcpython-0ef92d979311ba82d4c41b22ef38e12e1b08b13d.zip
cpython-0ef92d979311ba82d4c41b22ef38e12e1b08b13d.tar.gz
cpython-0ef92d979311ba82d4c41b22ef38e12e1b08b13d.tar.bz2
gh-89381: Fix invalid signatures of math/cmath.log (#101404)
Diffstat (limited to 'Lib/test/test_math.py')
-rw-r--r--Lib/test/test_math.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py
index fcdec93..2c84e55 100644
--- a/Lib/test/test_math.py
+++ b/Lib/test/test_math.py
@@ -1146,6 +1146,7 @@ class MathTests(unittest.TestCase):
self.ftest('log(1/e)', math.log(1/math.e), -1)
self.ftest('log(1)', math.log(1), 0)
self.ftest('log(e)', math.log(math.e), 1)
+ self.ftest('log(e, None)', math.log(math.e, None), 1)
self.ftest('log(32,2)', math.log(32,2), 5)
self.ftest('log(10**40, 10)', math.log(10**40, 10), 40)
self.ftest('log(10**40, 10**20)', math.log(10**40, 10**20), 2)