Skip to content

Commit ff31253

Browse files
committed
fix: updates one_to_hundred for hundred_elements
This is because arange(100) isn't actually 1 to 100... it's 0 to 99
1 parent 668d057 commit ff31253

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/reshape/test_tile.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -519,9 +519,9 @@ def test_cut_read_only(self):
519519

520520
mutable = np.arange(0, 100, 10)
521521

522-
one_to_hundred = np.arange(100)
523-
tm.assert_categorical_equal(cut(one_to_hundred, readonly),
524-
cut(one_to_hundred, mutable))
522+
hundred_elements = np.arange(100)
523+
tm.assert_categorical_equal(cut(hundred_elements, readonly),
524+
cut(hundred_elements, mutable))
525525

526526

527527
def curpath():

0 commit comments

Comments
 (0)