Skip to content
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

test_unparse raises a SyntaxWarning #115931

Closed
Eclips4 opened this issue Feb 26, 2024 · 1 comment
Closed

test_unparse raises a SyntaxWarning #115931

Eclips4 opened this issue Feb 26, 2024 · 1 comment
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@Eclips4
Copy link
Member

Eclips4 commented Feb 26, 2024

Bug report

Bug description:

./python.exe -m test test_unparse
Using random seed: 1838242075
0:00:00 load avg: 3.28 Run 1 test sequentially
0:00:00 load avg: 3.28 [1/1] test_unparse
<unknown>:1: SyntaxWarning: invalid escape sequence '\ '
<unknown>:1: SyntaxWarning: invalid escape sequence '\ '

== Tests result: SUCCESS ==

1 test OK.

Total duration: 2.9 sec
Total tests: run=69
Total test files: run=1/1
Result: SUCCESS

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

@Eclips4 Eclips4 added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir 3.12 bugs and security fixes 3.13 bugs and security fixes labels Feb 26, 2024
sobolevn added a commit to sobolevn/cpython that referenced this issue Feb 26, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Feb 26, 2024
)

(cherry picked from commit b7383b8)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
pablogsal pushed a commit that referenced this issue Feb 26, 2024
…115948)

gh-115931: Fix `SyntaxWarning`s in `test_unparse` (GH-115935)
(cherry picked from commit b7383b8)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@Eclips4
Copy link
Member Author

Eclips4 commented Feb 26, 2024

Thanks Nikita for fixing.

@Eclips4 Eclips4 closed this as completed Feb 26, 2024
woodruffw pushed a commit to woodruffw-forks/cpython that referenced this issue Mar 4, 2024
adorilson pushed a commit to adorilson/cpython that referenced this issue Mar 25, 2024
diegorusso pushed a commit to diegorusso/cpython that referenced this issue Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant