File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -439,7 +439,10 @@ def test_hasnans_isnans(self, index_flat):
439
439
440
440
@pytest .mark .filterwarnings (r"ignore:PeriodDtype\[B\] is deprecated:FutureWarning" )
441
441
@pytest .mark .parametrize ("na_position" , [None , "middle" ])
442
- @pytest .mark .xfail (reason = "Sorting fails due to heterogeneous types in index (int vs str)" )
442
+ @pytest .mark .xfail (
443
+ reason = "Sorting fails due to heterogeneous types in index (int vs str)"
444
+ )
445
+
443
446
def test_sort_values_invalid_na_position (index_with_missing , na_position ):
444
447
non_na_values = [x for x in index_with_missing if pd .notna (x )]
445
448
if len ({type (x ) for x in non_na_values }) > 1 :
@@ -451,7 +454,9 @@ def test_sort_values_invalid_na_position(index_with_missing, na_position):
451
454
452
455
@pytest .mark .filterwarnings (r"ignore:PeriodDtype\[B\] is deprecated:FutureWarning" )
453
456
@pytest .mark .parametrize ("na_position" , ["first" , "last" ])
454
- @pytest .mark .xfail (reason = "Sorting fails due to heterogeneous types in index (int vs str)" )
457
+ @pytest .mark .xfail (
458
+ reason = "Sorting fails due to heterogeneous types in index (int vs str)"
459
+ )
455
460
def test_sort_values_with_missing (index_with_missing , na_position , request ):
456
461
# GH 35584. Test that sort_values works with missing values,
457
462
# sort non-missing and place missing according to na_position
You can’t perform that action at this time.
0 commit comments