Skip to content

Commit 33ea2c6

Browse files
committed
change param naming
1 parent 915bc50 commit 33ea2c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/reshape/test_qcut.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,13 @@ def test_qcut_labels_true():
138138
qcut(values, 4, labels=True)
139139

140140

141-
@pytest.mark.parametrize("kwargs", [["a", "b", "c"], list(range(3))])
142-
def test_qcut_wrong_length_labels(kwargs):
141+
@pytest.mark.parametrize("labels", [["a", "b", "c"], list(range(3))])
142+
def test_qcut_wrong_length_labels(labels):
143143
# GH 13318
144144
values = range(10)
145145
msg = "Bin labels must be one fewer than the number of bin edges"
146146
with pytest.raises(ValueError, match=msg):
147-
qcut(values, 4, labels=kwargs)
147+
qcut(values, 4, labels=labels)
148148

149149

150150
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)