Skip to content

[3.15] gh-155742: Test PyBytesWriter_FinishWithSize() with negative size (GH-155783) - #155791

Open
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-b8e23da-3.15
Open

[3.15] gh-155742: Test PyBytesWriter_FinishWithSize() with negative size (GH-155783)#155791
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-b8e23da-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Add test_finish_with_size() to test_capi.test_bytes.
(cherry picked from commit b8e23da)

Co-authored-by: Victor Stinner vstinner@python.org

…ze (pythonGH-155783)

Add test_finish_with_size() to test_capi.test_bytes.
(cherry picked from commit b8e23da18a5ddd86f85f7654e3b4565c82623456)

Co-authored-by: Victor Stinner <vstinner@python.org>

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vstinner

Copy link
Copy Markdown
Member

@hugovk: That's a simple test enhancement which can be safely backported to 3.15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants