Skip to content

Commit f337f4e

Browse files
Fix ruff long-line complaints
Signed-off-by: Michael Tiemann <[email protected]>
1 parent 147e274 commit f337f4e

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

pandas/tests/extension/test_arrow.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -643,12 +643,13 @@ def test_is_not_string_type(self, dtype):
643643
def test_view(self, data):
644644
super().test_view(data)
645645

646-
def test_fillna_no_op_returns_copy(self, data):
646+
def test_fillna_no_op_returns_copy(self, data, request):
647647
if data.dtype.kind == "c":
648648
request.node.add_marker(
649649
pytest.mark.xfail(
650650
reason=(
651-
f"no cython implementation of backfill(ndarray[{data.dtype.name}_t],"
651+
"no cython implementation of "
652+
f"backfill(ndarray[{data.dtype.name}_t],"
652653
f"ndarray[{data.dtype.name}_t], int64_t) in libs/algos.pxd"
653654
)
654655
)

pandas/tests/extension/test_numpy.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,8 @@ def test_fillna_no_op_returns_copy(self, data, request):
408408
if data.dtype.kind == "c":
409409
request.node.add_marker(
410410
pytest.mark.xfail(
411-
reason=f"no cython implementation of backfill(ndarray[{data.dtype.name}_t],"
411+
reason="no cython implementation of "
412+
f"backfill(ndarray[{data.dtype.name}_t],"
412413
f"ndarray[{data.dtype.name}_t], int64_t) in libs/algos.pxd"
413414
)
414415
)

pandas/tests/extension/test_sparse.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ def test_fillna_no_op_returns_copy(self, data, request):
217217
request.node.add_marker(
218218
pytest.mark.xfail(
219219
reason=(
220-
f"no cython implementation of backfill(ndarray[{data.dtype.name}_t],"
220+
"no cython implementation of "
221+
f"backfill(ndarray[{data.dtype.name}_t],"
221222
f"ndarray[{data.dtype.name}_t], int64_t) in libs/algos.pxd"
222223
)
223224
)

0 commit comments

Comments
 (0)