diff options
author | Nybblista <170842536+nybblista@users.noreply.github.com> | 2025-03-23 07:20:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-23 07:20:40 (GMT) |
commit | f3bf304c2799c31c045033f22db7eb8766a5f939 (patch) | |
tree | d243b2c9a5b87b6bdefaeb9572048e4e6de3dc4e /Python/codecs.c | |
parent | bc26f95e8ff60ccca9818ca8522d2d0cde1b55fb (diff) | |
download | cpython-f3bf304c2799c31c045033f22db7eb8766a5f939.zip cpython-f3bf304c2799c31c045033f22db7eb8766a5f939.tar.gz cpython-f3bf304c2799c31c045033f22db7eb8766a5f939.tar.bz2 |
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.
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions