Skip to content

Commit 893dd4d

Browse files
[3.14] gh-148605: Remove irepeat() thread test from test_bytes (GH-150576) (#150661)
gh-148605: Remove irepeat() thread test from test_bytes (GH-150576) (cherry picked from commit 350e9de) Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 5986718 commit 893dd4d

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

Lib/test/test_bytes.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2571,10 +2571,6 @@ def iconcat(b, a): # MODIFIES!
25712571
b.wait()
25722572
a += c
25732573

2574-
def irepeat(b, a): # MODIFIES!
2575-
b.wait()
2576-
a *= 2
2577-
25782574
def subscript(b, a):
25792575
b.wait()
25802576
try: assert a[0] != 0xdd
@@ -2696,9 +2692,10 @@ def check(funcs, a=None, *args):
26962692

26972693
check([clear] + [repeat] * 10)
26982694
check([clear] + [iconcat] * 10)
2699-
check([clear] + [irepeat] * 10)
27002695
check([clear] + [ass_subscript] * 10)
27012696
check([clear] + [repr_] * 10)
2697+
# gh-148605: Do not test "a *= 2" since it allocates up to 4 GiB using
2698+
# 10 threads
27022699

27032700
# value errors
27042701

0 commit comments

Comments
 (0)