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 85418d5 commit 6e9fc78Copy full SHA for 6e9fc78
quaddtype/tests/test_quaddtype.py
@@ -128,12 +128,12 @@ def test_unary_ops(op, val):
128
quad_val = QuadPrecision(val)
129
float_val = float(val)
130
131
- for op_func in [op_func, nop_func]:
132
- if op_func is None:
+ for of in [op_func, nop_func]:
+ if of is None:
133
continue
134
135
- quad_result = op_func(quad_val)
136
- float_result = op_func(float_val)
+ quad_result = of(quad_val)
+ float_result = of(float_val)
137
138
# FIXME: @juntyr: replace with array_equal once isnan is supported
139
with np.errstate(invalid="ignore"):
0 commit comments