@@ -22,8 +22,8 @@ def test_categorical_equal_order_mismatch(check_category_order):
22
22
msg = """Categorical\\ .categories are different
23
23
24
24
Categorical\\ .categories values are different \\ (100\\ .0 %\\ )
25
- \\ [left\\ ]: Int64Index \\ (\\ [1, 2, 3, 4\\ ] , dtype='int64'\\ )
26
- \\ [right\\ ]: Int64Index \\ (\\ [4, 3, 2, 1\\ ], dtype='int64'\\ )"""
25
+ \\ [left\\ ]: NumericIndex \\ (\\ [1, 2, 3, 4] \\ , dtype='int64'\\ )
26
+ \\ [right\\ ]: NumericIndex \\ (\\ [4, 3, 2, 1\\ ], dtype='int64'\\ )"""
27
27
with pytest .raises (AssertionError , match = msg ):
28
28
tm .assert_categorical_equal (c1 , c2 , ** kwargs )
29
29
else :
@@ -34,8 +34,8 @@ def test_categorical_equal_categories_mismatch():
34
34
msg = """Categorical\\ .categories are different
35
35
36
36
Categorical\\ .categories values are different \\ (25\\ .0 %\\ )
37
- \\ [left\\ ]: Int64Index \\ (\\ [1, 2, 3, 4\\ ], dtype='int64'\\ )
38
- \\ [right\\ ]: Int64Index \\ (\\ [1, 2, 3, 5\\ ], dtype='int64'\\ )"""
37
+ \\ [left\\ ]: NumericIndex \\ (\\ [1, 2, 3, 4\\ ], dtype='int64'\\ )
38
+ \\ [right\\ ]: NumericIndex \\ (\\ [1, 2, 3, 5\\ ], dtype='int64'\\ )"""
39
39
40
40
c1 = Categorical ([1 , 2 , 3 , 4 ])
41
41
c2 = Categorical ([1 , 2 , 3 , 5 ])
0 commit comments