From 8d3461d1bba52b45444bf2d3046c0598aed60185 Mon Sep 17 00:00:00 2001 From: Tony Jinwoo Ahn Date: Sat, 2 Oct 2021 13:59:36 +0900 Subject: [PATCH] Enable exp() for cmath test --- Lib/test/test_cmath.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_cmath.py b/Lib/test/test_cmath.py index bf645ffb9..cf5dbaf95 100644 --- a/Lib/test/test_cmath.py +++ b/Lib/test/test_cmath.py @@ -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))