Merge pull request #3191 from tony-jinwoo-ahn/Math

Enable exp() for cmath test
This commit is contained in:
Jeong YunWon
2021-10-02 15:13:24 +09:00
committed by GitHub

View File

@@ -56,8 +56,8 @@ class CMathTests(unittest.TestCase):
#
# list of all functions in cmath
test_functions = [getattr(cmath, fname) for fname in [
'sin','cos','log','log10','sqrt','acosh','tan','tanh','asinh', 'atan', 'atanh', 'sinh', 'cosh'
# 'exp','acos','asin',
'sin','cos','log','log10','sqrt','acosh','tan','tanh','asinh', 'atan', 'atanh', 'sinh', 'cosh', 'exp'
# 'acos','asin'
]]
# test first and second arguments independently for 2-argument log
# test_functions.append(lambda x : cmath.log(x, 1729. + 0j))