FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-131357: Add a set of asserts to test.test_capi.test_bytearray (GH-131554) by miss-islington · Pull Request #131601 · python/cpython · GitHub

Repository navigation

[3.13] gh-131357: Add a set of asserts to test.test_capi.test_bytearray (GH-131554) - #131601

Merged
sobolevn merged 1 commit into
python:3.13from
miss-islington:backport-f3bf304-3.13
Mar 23, 2025
Merged

sobolevn merged 1 commit into
python:3.13from
miss-islington:backport-f3bf304-3.13

Conversation

miss-islington commented Mar 23, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

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 f3bf304)

Co-authored-by: Nybblista 170842536+nybblista@users.noreply.github.com

pythonGH-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 f3bf304)

Co-authored-by: Nybblista <170842536+nybblista@users.noreply.github.com>
sobolevn merged commit 856bb54 into python:3.13 Mar 23, 2025
miss-islington deleted the backport-f3bf304-3.13 branch January 2, 2026 18:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL