-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Add more tests for zero-sized bytes objects in capi
tests
#131357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Can I work on this? |
@CHB-0r1s sure, please go ahead! ❤ |
sobolevn
pushed a commit
that referenced
this issue
Mar 23, 2025
…1554) 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.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Mar 23, 2025
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
pushed a commit
that referenced
this issue
Mar 23, 2025
…ay (GH-131554) (#131601) gh-131357: Add a set of asserts to test.test_capi.test_bytearray (GH-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
pushed a commit
that referenced
this issue
Mar 23, 2025
…ay (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 f3bf304)
seehwan
pushed a commit
to seehwan/cpython
that referenced
this issue
Apr 16, 2025
python#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.
vstinner
added a commit
that referenced
this issue
May 20, 2025
…134234) Co-authored-by: Victor Stinner <vstinner@python.org>
Looks ready to close |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 20, 2025
….py (pythonGH-134234) (cherry picked from commit 306f9e0) Co-authored-by: abstractedfox <coldcaption@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 20, 2025
….py (pythonGH-134234) (cherry picked from commit 306f9e0) Co-authored-by: abstractedfox <coldcaption@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org>
Oh. It is still not tested. Does someone want to propose a PR for that? |
sergey-miryanov
added a commit
to sergey-miryanov/cpython
that referenced
this issue
May 22, 2025
vstinner
pushed a commit
that referenced
this issue
May 22, 2025
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 22, 2025
…ythonGH-134458) (cherry picked from commit 7309eb6) Co-authored-by: Sergey Miryanov <sergey.miryanov@gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 22, 2025
…ythonGH-134458) (cherry picked from commit 7309eb6) Co-authored-by: Sergey Miryanov <sergey.miryanov@gmail.com>
vstinner
pushed a commit
that referenced
this issue
May 22, 2025
vstinner
pushed a commit
that referenced
this issue
May 22, 2025
lkollar
pushed a commit
to lkollar/cpython
that referenced
this issue
May 26, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Quoting @picnixz: #131343 (comment)
PRs are welcome!
Linked PRs
The text was updated successfully, but these errors were encountered: