Skip to content

Commit 0484e1e

Browse files
committed
Merge list comprehensions
1 parent 6a0c00a commit 0484e1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/tensor/test_math.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2461,8 +2461,8 @@ def numpy_i_scalar(dtype):
24612461
with config.change_flags(cast_policy="numpy+floatX"):
24622462
# We will test all meaningful combinations of
24632463
# scalar and array operations.
2464-
pytensor_args = list(map(eval, [f"pytensor_{c}" for c in combo]))
2465-
numpy_args = list(map(eval, [f"numpy_{c}" for c in combo]))
2464+
pytensor_args = [eval(f"pytensor_{c}") for c in combo]
2465+
numpy_args = [eval(f"numpy_{c}") for c in combo]
24662466
pytensor_arg_1 = pytensor_args[0](a_type)
24672467
pytensor_arg_2 = pytensor_args[1](b_type)
24682468
pytensor_dtype = op(

0 commit comments

Comments
 (0)