Skip to content

Commit 3f954d0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 297c98d commit 3f954d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/tests/arithmetic/test_interval.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ def elementwise_comparison(self, op, interval_array, other):
107107
Helper that performs elementwise comparisons between `array` and `other`
108108
"""
109109
other = other if is_list_like(other) else [other] * len(interval_array)
110-
expected = np.array([op(x, y) for x, y in zip(interval_array, other, strict=True)])
110+
expected = np.array(
111+
[op(x, y) for x, y in zip(interval_array, other, strict=True)]
112+
)
111113
if isinstance(other, Series):
112114
return Series(expected, index=other.index)
113115
return expected

0 commit comments

Comments
 (0)