gh-89381: Fix invalid signatures of math/cmath.log (#101404)

This commit is contained in:
Sergey B Kirpichev 2023-01-29 22:50:10 +03:00 committed by GitHub
parent 666c0840dc
commit 0ef92d9793
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 42 additions and 47 deletions

View file

@ -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)