[3.12] gh-131357: Add a set of asserts to test.test_capi.test_bytearray (GH-131554) (#131629)
[3.12] gh-131357: Add a set of asserts to test.test_capi.test_bytearray (#131554) add a set of asserts to test.test_capi.test_bytearray 1. Assert empty bytearray object for PyByteArray_Check. 2. Assert empty bytearray object for PyByteArray_CheckExact. 3. Assert 0-size bytearray object for PyByteArray_Size. 4. Assert empty bytearray object for PyByteArray_AsString. 5. Assert concatenation of the bytearray object with itself for PyByteArray_Concat. (cherry picked from commit f3bf304c2799c31c045033f22db7eb8766a5f939)
N
Nybblista committed
7f2de07808b13bd345855fec42ac6add2cfb3704
Parent: 3911bd5
Committed by GitHub <noreply@github.com>
on 3/23/2025, 5:43:12 PM