We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a0c00a commit 0484e1eCopy full SHA for 0484e1e
tests/tensor/test_math.py
@@ -2461,8 +2461,8 @@ def numpy_i_scalar(dtype):
2461
with config.change_flags(cast_policy="numpy+floatX"):
2462
# We will test all meaningful combinations of
2463
# 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]))
+ pytensor_args = [eval(f"pytensor_{c}") for c in combo]
+ numpy_args = [eval(f"numpy_{c}") for c in combo]
2466
pytensor_arg_1 = pytensor_args[0](a_type)
2467
pytensor_arg_2 = pytensor_args[1](b_type)
2468
pytensor_dtype = op(
0 commit comments