Skip to content

Commit 5ce3c25

Browse files
committed
TST: use lists, reference GH issue
1 parent 6a422b2 commit 5ce3c25

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/tests/frame/methods/test_sort_index.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,11 +765,12 @@ def test_sort_index_with_categories(self, categories):
765765
"ascending",
766766
[
767767
None,
768-
(True, None),
769-
(False, "True"),
768+
[True, None],
769+
[False, "True"],
770770
],
771771
)
772772
def test_sort_index_ascending_bad_value_raises(self, ascending):
773+
# GH 39434
773774
df = DataFrame(np.arange(64))
774775
length = len(df.index)
775776
df.index = [(i - length / 2) % length for i in range(length)]

0 commit comments

Comments
 (0)