File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ def test_get_labels_groupby_for_Int64(writable):
461
461
462
462
def test_tracemalloc_works_for_StringHashTable ():
463
463
N = 1000
464
- keys = np .arange (N ).astype (np .compat . unicode ).astype (np .object_ )
464
+ keys = np .arange (N ).astype (np .str_ ).astype (np .object_ )
465
465
with activated_tracemalloc ():
466
466
table = ht .StringHashTable ()
467
467
table .map_locations (keys )
@@ -484,7 +484,7 @@ def test_tracemalloc_for_empty_StringHashTable():
484
484
485
485
@pytest .mark .parametrize ("N" , range (1 , 110 ))
486
486
def test_no_reallocation_StringHashTable (N ):
487
- keys = np .arange (N ).astype (np .compat . unicode ).astype (np .object_ )
487
+ keys = np .arange (N ).astype (np .str_ ).astype (np .object_ )
488
488
preallocated_table = ht .StringHashTable (N )
489
489
n_buckets_start = preallocated_table .get_state ()["n_buckets" ]
490
490
preallocated_table .map_locations (keys )
You can’t perform that action at this time.
0 commit comments