Skip to content

Commit 777e13e

Browse files
committed
BUG: Added GH issue to test. Updated docstrings (#33141)
1 parent 55c086e commit 777e13e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/reshape/test_cut.py

+1
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,7 @@ def test_cut_unordered_labels(data, bins, labels, expected_codes, expected_label
660660

661661

662662
def test_cut_unordered_with_missing_labels_raises_error():
663+
# GH 33141
663664
msg = "'labels' must be provided if 'ordered = False'"
664665
with pytest.raises(ValueError, match=msg):
665666
cut([0.5, 3], bins=[0, 1, 2], ordered=False)

0 commit comments

Comments
 (0)