Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Test syntax error on comma-less tuple-style sequence patterns #115485

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

Merged
merged 1 commit into from
May 1, 2024

Conversation

da-woods
Copy link
Contributor

@da-woods da-woods commented Feb 14, 2024

Adds a test that length-1 tuple-style sequence patterns must end in a comma, since there isn't currently one.

Spotted while reviewing Cython's proposed implementation of the pattern matching syntax (cython/cython#4897 (comment)) where there was a bug in my reimplementation that wasn't caught against the CPython tests here.

Adds a test that length-1 tuple-style sequence patterns must end in a comma, since there isn't currently one.

Spotted while reviewing Cython's proposed implementation of the pattern matching syntax (cython/cython#4897 (comment)) where there was a bug my the reimplementation that wasn't caught against the CPython tests here.
@bedevere-app bedevere-app bot added awaiting review tests Tests in the Lib/test dir labels Feb 14, 2024
@da-woods
Copy link
Contributor Author

I think this is small enough to skip the issue, but I can go back and create one if needed.

@hauntsaninja hauntsaninja merged commit 21c09d9 into python:main May 1, 2024
6 checks passed
@da-woods da-woods deleted the patch-2 branch May 1, 2024 08:40
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
…#115485)

Adds a test that length-1 tuple-style sequence patterns must end in a comma, since there isn't currently one.

Spotted while reviewing Cython's proposed implementation of the pattern matching syntax (cython/cython#4897 (comment)) where there was a bug my the reimplementation that wasn't caught against the CPython tests here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip issue skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants