aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ec/test_divpoly.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ec/test_divpoly.py b/test/ec/test_divpoly.py
index 44134de..76b5f29 100644
--- a/test/ec/test_divpoly.py
+++ b/test/ec/test_divpoly.py
@@ -165,8 +165,8 @@ def test_mult_by_n(secp128r1):
}
mx, my = mult_by_n(secp128r1.curve, 2)
mx_num, mx_denom = mx
- assert coeffs_mx_num == list(map(lambda x: K.from_sympy(x), mx_num.all_coeffs()))
- assert coeffs_mx_denom == list(map(lambda x: K.from_sympy(x), mx_denom.all_coeffs()))
+ assert coeffs_mx_num == list(map(K.from_sympy, mx_num.all_coeffs()))
+ assert coeffs_mx_denom == list(map(K.from_sympy, mx_denom.all_coeffs()))
my_num, my_denom = my
assert {i: K.from_sympy(d) for i, d in my_num.as_dict().items()} == coeffs_my_num
assert {i: K.from_sympy(d) for i, d in my_denom.as_dict().items()} == coeffs_my_denom