https://github.com/python/cpython/commit/2c1e4bb6e295f72b38e0f92b0ccbcc80a64e61a8
commit: 2c1e4bb6e295f72b38e0f92b0ccbcc80a64e61a8
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2026-06-01T15:01:52+05:30
summary:

[3.15] gh-148605: Remove irepeat() thread test from test_bytes (GH-150576) 
(#150660)

gh-148605: Remove irepeat() thread test from test_bytes (GH-150576)
(cherry picked from commit 350e9de7650e224fd3abe8f389976071e8fae6d2)

Co-authored-by: Victor Stinner <[email protected]>

files:
M Lib/test/test_bytes.py

diff --git a/Lib/test/test_bytes.py b/Lib/test/test_bytes.py
index b1cdbe04765ed0..e0e8dd4eccfb1b 100644
--- a/Lib/test/test_bytes.py
+++ b/Lib/test/test_bytes.py
@@ -2700,10 +2700,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
@@ -2837,9 +2833,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
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to