forked from Rust-related/RustPython
Merge pull request #3191 from tony-jinwoo-ahn/Math
Enable exp() for cmath test
This commit is contained in:
4
Lib/test/test_cmath.py
vendored
4
Lib/test/test_cmath.py
vendored
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user