Skip to content

Commit ac9a768

Browse files
authored
CI fixup pylint (#51381)
ci fixup pylint Co-authored-by: MarcoGorelli <>
1 parent 7d545f0 commit ac9a768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/reshape/test_pivot.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ def test_pivot_columns_none_raise_error(self):
801801
df = DataFrame({"col1": ["a", "b", "c"], "col2": [1, 2, 3], "col3": [1, 2, 3]})
802802
msg = r"pivot\(\) missing 1 required keyword-only argument: 'columns'"
803803
with pytest.raises(TypeError, match=msg):
804-
df.pivot(index="col1", values="col3")
804+
df.pivot(index="col1", values="col3") # pylint: disable=missing-kwoa
805805

806806
@pytest.mark.xfail(
807807
reason="MultiIndexed unstack with tuple names fails with KeyError GH#19966"
@@ -2514,7 +2514,7 @@ def test_pivot_columns_not_given(self):
25142514
# GH#48293
25152515
df = DataFrame({"a": [1], "b": 1})
25162516
with pytest.raises(TypeError, match="missing 1 required keyword-only argument"):
2517-
df.pivot()
2517+
df.pivot() # pylint: disable=missing-kwoa
25182518

25192519
def test_pivot_columns_is_none(self):
25202520
# GH#48293

0 commit comments

Comments
 (0)