Skip to content

Commit bc96021

Browse files
Additional requests removed; indentation fix
In `test_pyarrow.py`, fix indentation error in `TestArrowArray.test_arith_frame_with_scalar` In `test_sparse.py`, remove unneeded `request` parameters in `TestArithmeticOps.test_arith_series_with_scalar` and `TestArithmeticOps.test_arith_series_with_array` In `test_string.py`, remove unneeded `request` parameter in `TestMissing.test_fillna_no_op_returns_copy` and `Test2DCompat.arrow_not_supported` Signed-off-by: Michael Tiemann <72577720+MichaelTiemannOSC@users.noreply.github.com>
1 parent 48cb330 commit bc96021

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

pandas/tests/extension/test_arrow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ def test_arith_frame_with_scalar(self, data, all_arithmetic_operators, request):
10621062
if mark is not None:
10631063
request.node.add_marker(mark)
10641064

1065-
super().test_arith_frame_with_scalar(data, all_arithmetic_operators)
1065+
super().test_arith_frame_with_scalar(data, all_arithmetic_operators)
10661066

10671067
def test_arith_series_with_array(self, data, all_arithmetic_operators, request):
10681068
pa_dtype = data.dtype.pyarrow_dtype

pandas/tests/extension/test_sparse.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,11 +381,11 @@ def _skip_if_different_combine(self, data):
381381
# general, so we can't make the expected. This is tested elsewhere
382382
pytest.skip("Incorrected expected from Series.combine and tested elsewhere")
383383

384-
def test_arith_series_with_scalar(self, data, all_arithmetic_operators, request):
384+
def test_arith_series_with_scalar(self, data, all_arithmetic_operators):
385385
self._skip_if_different_combine(data)
386386
super().test_arith_series_with_scalar(data, all_arithmetic_operators)
387387

388-
def test_arith_series_with_array(self, data, all_arithmetic_operators, request):
388+
def test_arith_series_with_array(self, data, all_arithmetic_operators):
389389
self._skip_if_different_combine(data)
390390
super().test_arith_series_with_array(data, all_arithmetic_operators)
391391

pandas/tests/extension/test_string.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def test_dropna_array(self, data_missing):
143143
expected = data_missing[[1]]
144144
tm.assert_extension_array_equal(result, expected)
145145

146-
def test_fillna_no_op_returns_copy(self, data, request):
146+
def test_fillna_no_op_returns_copy(self, data):
147147
data = data[~data.isna()]
148148

149149
valid = data[0]
@@ -207,7 +207,7 @@ def test_groupby_extension_apply(self, data_for_grouping, groupby_apply_op):
207207

208208
class Test2DCompat(base.Dim2CompatTests):
209209
@pytest.fixture(autouse=True)
210-
def arrow_not_supported(self, data, request):
210+
def arrow_not_supported(self, data):
211211
if isinstance(data, ArrowStringArray):
212212
pytest.skip(reason="2D support not implemented for ArrowStringArray")
213213

0 commit comments

Comments
 (0)