Skip to content

gh-131357: Add some extra tests for empty bytes and bytearray #134458

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

Conversation

sergey-miryanov
Copy link
Contributor

@sergey-miryanov sergey-miryanov commented May 21, 2025

Tests for PyBytes_FromObject, PyBytes_Repr and PyBytes_DecodeEscape

@sergey-miryanov sergey-miryanov changed the title gh-131357: Add some extra tests for empty bytes gh-131357: Add some extra tests for empty bytes and bytearray May 21, 2025
@vstinner vstinner added needs backport to 3.14 bugs and security fixes skip news needs backport to 3.13 bugs and security fixes labels May 21, 2025
@vstinner vstinner merged commit 7309eb6 into python:main May 22, 2025
38 checks passed
@miss-islington-app
Copy link

Thanks @sergey-miryanov for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 22, 2025
@bedevere-app
Copy link

bedevere-app bot commented May 22, 2025

GH-134489 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label May 22, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 22, 2025
@bedevere-app
Copy link

bedevere-app bot commented May 22, 2025

GH-134490 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label May 22, 2025
@vstinner
Copy link
Member

Merged. Thank you.

vstinner pushed a commit that referenced this pull request May 22, 2025
…H-134458) (#134490)

gh-131357: Add some extra tests for empty bytes and bytearray (GH-134458)
(cherry picked from commit 7309eb6)

Co-authored-by: Sergey Miryanov <[email protected]>
vstinner pushed a commit that referenced this pull request May 22, 2025
…H-134458) (#134489)

gh-131357: Add some extra tests for empty bytes and bytearray (GH-134458)
(cherry picked from commit 7309eb6)

Co-authored-by: Sergey Miryanov <[email protected]>
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.

2 participants