From: Victor Stinner Date: Sun, 31 May 2026 09:27:10 +0000 (+0200) Subject: gh-148605: Remove irepeat() thread test from test_bytes (#150576) X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=350e9de7650e224fd3abe8f389976071e8fae6d2;p=thirdparty%2FPython%2Fcpython.git gh-148605: Remove irepeat() thread test from test_bytes (#150576) --- diff --git a/Lib/test/test_bytes.py b/Lib/test/test_bytes.py index b1cdbe04765e..e0e8dd4eccfb 100644 --- a/Lib/test/test_bytes.py +++ b/Lib/test/test_bytes.py @@ -2700,10 +2700,6 @@ class FreeThreadingTest(unittest.TestCase): b.wait() a += c - def irepeat(b, a): # MODIFIES! - b.wait() - a *= 2 - def subscript(b, a): b.wait() try: assert a[0] != 0xdd @@ -2837,9 +2833,10 @@ class FreeThreadingTest(unittest.TestCase): 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