From c162679ac60f9f9af7981a902519ac77f524e823 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 31 May 2026 11:27:10 +0200 Subject: [PATCH] gh-148605: Remove irepeat() thread test from test_bytes (GH-150576) (cherry picked from commit 350e9de7650e224fd3abe8f389976071e8fae6d2) Co-authored-by: Victor Stinner --- Lib/test/test_bytes.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Lib/test/test_bytes.py b/Lib/test/test_bytes.py index 5d4f2155a6b065f..69235d444b915e7 100644 --- a/Lib/test/test_bytes.py +++ b/Lib/test/test_bytes.py @@ -2571,10 +2571,6 @@ def iconcat(b, a): # MODIFIES! b.wait() a += c - def irepeat(b, a): # MODIFIES! - b.wait() - a *= 2 - def subscript(b, a): b.wait() try: assert a[0] != 0xdd @@ -2696,9 +2692,10 @@ def check(funcs, a=None, *args): check([clear] + [repeat] * 10) check([clear] + [iconcat] * 10) - check([clear] + [irepeat] * 10) check([clear] + [ass_subscript] * 10) check([clear] + [repr_] * 10) + # gh-148605: Do not test "a *= 2" since it allocates up to 4 GiB using + # 10 threads # value errors