Skip to content

Commit d5cf648

Browse files
committed
Improve comment; retrigger failed CI
1 parent 16c3103 commit d5cf648

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/tests/indexes/common.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,9 @@ def test_duplicated_inverse(self, indices, keep):
406406
return_inverse=True)
407407
tm.assert_numpy_array_equal(result_isdup, expected_isdup)
408408

409-
# test that result_inv works (and fits together with expected_isdup)
409+
# the following tests the correctness of result_inv in two ways:
410+
# - it needs to fit together with expected_isdup
411+
# - it needs to correctly reconstruct the object
410412
unique = idx[~expected_isdup]
411413
reconstr = unique[result_inv]
412414
tm.assert_index_equal(reconstr, idx)

0 commit comments

Comments
 (0)