Skip to content

gh-109182: Fix SyntaxWarning in test_listcomps.py #109183

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

Closed
wants to merge 1 commit into from

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Sep 9, 2023

Looks like it was copied from test_comp_in_try_except, but since finally does not need failing/not failing case, I think it is safe to just remove the missing template param.

@serhiy-storchaka
Copy link
Member

It is not the only issue in this test. Even after fixing this error the test does not do what it is supposed to do. I created a new PR that fixes more errors: #109189.

@sobolevn
Copy link
Member Author

Yes, your version is better :)

@sobolevn sobolevn closed this Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants