Skip to content

Commit 8139046

Browse files
committed
Make itertools.combinations_with_replacement thread-safe
1 parent 56b615e commit 8139046

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_free_threading/test_itertools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ def work(it):
9292
@threading_helper.reap_threads
9393
def test_combinations_with_replacement(self):
9494
number_of_threads = 6
95-
number_of_iterations = 100
96-
data = tuple(range(3))
95+
number_of_iterations = 50
96+
data = tuple(range(2))
9797

9898
barrier = Barrier(number_of_threads)
9999
def work(it):

0 commit comments

Comments
 (0)