Skip to content

Commit b816ac7

Browse files
committed
chore: add comment for method test_search_methods_reentrancy_raises_buffererror
1 parent 9d2e801 commit b816ac7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_bytes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2061,6 +2061,7 @@ def __index__(self):
20612061
self.assertEqual(instance.new_ba, bytearray(0x180), "Wrong object altered")
20622062

20632063
def test_search_methods_reentrancy_raises_buffererror(self):
2064+
# gh-142560: Raise BufferError if buffer mutates during search arg conversion.
20642065
ba = bytearray(b"A")
20652066
class Evil:
20662067
def __index__(self):

0 commit comments

Comments
 (0)