Skip to content

Commit 0a23c73

Browse files
committed
Reduce some parameterization
1 parent d7cf8b9 commit 0a23c73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/libs/test_hashtable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def test_get_state(self, table_type, dtype):
247247
assert "n_buckets" in state
248248
assert "upper_bound" in state
249249

250-
@pytest.mark.parametrize("N", range(1, 110))
250+
@pytest.mark.parametrize("N", range(1, 110, 4))
251251
def test_no_reallocation(self, table_type, dtype, N):
252252
keys = np.arange(N).astype(dtype)
253253
preallocated_table = table_type(N)
@@ -517,7 +517,7 @@ def test_tracemalloc_for_empty_StringHashTable():
517517
assert get_allocated_khash_memory() == 0
518518

519519

520-
@pytest.mark.parametrize("N", range(1, 110))
520+
@pytest.mark.parametrize("N", range(1, 110, 4))
521521
def test_no_reallocation_StringHashTable(N):
522522
keys = np.arange(N).astype(np.str_).astype(np.object_)
523523
preallocated_table = ht.StringHashTable(N)

0 commit comments

Comments
 (0)