@@ -264,13 +264,13 @@ def test_join(self) -> None:
264
264
actual = index1 .join (index2 )
265
265
print (actual .index )
266
266
assert actual .equals (expected )
267
- assert actual .coord_dtype == "< U4"
267
+ assert actual .coord_dtype == "= U4"
268
268
269
269
expected = PandasIndex (["a" , "aa" , "aaa" , "aaaa" ], "x" )
270
270
actual = index1 .join (index2 , how = "outer" )
271
271
print (actual .index )
272
272
assert actual .equals (expected )
273
- assert actual .coord_dtype == "< U4"
273
+ assert actual .coord_dtype == "= U4"
274
274
275
275
def test_reindex_like (self ) -> None :
276
276
index1 = PandasIndex ([0 , 1 , 2 ], "x" )
@@ -380,7 +380,7 @@ def test_concat(self) -> None:
380
380
pd_midx = pd .MultiIndex .from_product (
381
381
[[0 , 1 , 2 ], ["a" , "b" ]], names = ("foo" , "bar" )
382
382
)
383
- level_coords_dtype = {"foo" : np .int32 , "bar" : "< U1" }
383
+ level_coords_dtype = {"foo" : np .int32 , "bar" : "= U1" }
384
384
385
385
midx1 = PandasMultiIndex (
386
386
pd_midx [:2 ], "x" , level_coords_dtype = level_coords_dtype
@@ -484,7 +484,7 @@ def test_sel(self) -> None:
484
484
485
485
def test_join (self ):
486
486
midx = pd .MultiIndex .from_product ([["a" , "aa" ], [1 , 2 ]], names = ("one" , "two" ))
487
- level_coords_dtype = {"one" : "< U2" , "two" : "i" }
487
+ level_coords_dtype = {"one" : "= U2" , "two" : "i" }
488
488
index1 = PandasMultiIndex (midx , "x" , level_coords_dtype = level_coords_dtype )
489
489
index2 = PandasMultiIndex (midx [0 :2 ], "x" , level_coords_dtype = level_coords_dtype )
490
490
0 commit comments