@@ -561,10 +561,10 @@ def test_intersection_duplicates_all_indexes(index):
561
561
562
562
563
563
def test_union_duplicate_index_subsets_of_each_other (
564
- any_numpy_dtype_for_small_integer_indexes ,
564
+ any_numpy_dtype_for_small_pos_integer_indexes ,
565
565
):
566
566
# GH#31326
567
- dtype = any_numpy_dtype_for_small_integer_indexes
567
+ dtype = any_numpy_dtype_for_small_pos_integer_indexes
568
568
a = Index ([1 , 2 , 2 , 3 ], dtype = dtype )
569
569
b = Index ([3 , 3 , 4 ], dtype = dtype )
570
570
@@ -578,10 +578,10 @@ def test_union_duplicate_index_subsets_of_each_other(
578
578
579
579
580
580
def test_union_with_duplicate_index_and_non_monotonic (
581
- any_numpy_dtype_for_small_integer_indexes ,
581
+ any_numpy_dtype_for_small_pos_integer_indexes ,
582
582
):
583
583
# GH#36289
584
- dtype = any_numpy_dtype_for_small_integer_indexes
584
+ dtype = any_numpy_dtype_for_small_pos_integer_indexes
585
585
a = Index ([1 , 0 , 0 ], dtype = dtype )
586
586
b = Index ([0 , 1 ], dtype = dtype )
587
587
expected = Index ([0 , 0 , 1 ], dtype = dtype )
@@ -622,10 +622,10 @@ def test_union_nan_in_both(dup):
622
622
623
623
624
624
def test_union_with_duplicate_index_not_subset_and_non_monotonic (
625
- any_numpy_dtype_for_small_integer_indexes ,
625
+ any_numpy_dtype_for_small_pos_integer_indexes ,
626
626
):
627
627
# GH#36289
628
- dtype = any_numpy_dtype_for_small_integer_indexes
628
+ dtype = any_numpy_dtype_for_small_pos_integer_indexes
629
629
a = Index ([1 , 0 , 2 ], dtype = dtype )
630
630
b = Index ([0 , 0 , 1 ], dtype = dtype )
631
631
expected = Index ([0 , 0 , 1 , 2 ], dtype = dtype )
0 commit comments