Skip to content

Commit 2bcd165

Browse files
committed
new
1 parent eef01db commit 2bcd165

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/tests/indexes/test_common.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ def test_sort_values_invalid_na_position(index_with_missing, na_position):
449449
with pytest.raises(ValueError, match=f"invalid na_position: {na_position}"):
450450
index_with_missing.sort_values(na_position=na_position)
451451

452+
452453
@pytest.mark.filterwarnings(r"ignore:PeriodDtype\[B\] is deprecated:FutureWarning")
453454
@pytest.mark.parametrize("na_position", ["first", "last"])
454455
@pytest.mark.xfail(
@@ -482,7 +483,8 @@ def test_sort_values_with_missing(index_with_missing, na_position, request):
482483

483484
result = index_with_missing.sort_values(na_position=na_position)
484485
tm.assert_index_equal(result, expected)
485-
486+
487+
486488
def test_sort_values_natsort_key():
487489
# GH#56081
488490
def split_convert(s):

0 commit comments

Comments
 (0)