Skip to content

[3.9] bpo-39481: Fix duplicate SimpleQueue type in test_genericalias.py (GH-22619) #22624

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
Oct 12, 2020

Conversation

gousaiyang
Copy link
Contributor

@gousaiyang gousaiyang commented Oct 9, 2020

There are two different SimpleQueue types imported (from multiprocessing.queues and queue) in Lib/test/test_genericalias.py, the second one shadowing the first one, making the first one not actually tested. Fix by using different names.

Automerge-Triggered-By: @gvanrossum.
(cherry picked from commit b2c0a43)

Co-authored-by: Saiyang Gou [email protected]

https://bugs.python.org/issue39481

…py (pythonGH-22619)

There are two different `SimpleQueue` types imported (from `multiprocessing.queues` and `queue`) in `Lib/test/test_genericalias.py`, the second one shadowing the first one, making the first one not actually tested. Fix by using different names.

Automerge-Triggered-By: @gvanrossum.
(cherry picked from commit b2c0a43)

Co-authored-by: Saiyang Gou <[email protected]>
@gousaiyang
Copy link
Contributor Author

Looks like there is a glitch with GitHub Actions causing the Ubuntu build to fail. Can we somehow rerun the build?

@gvanrossum
Copy link
Member

Close and reopen to trigger tests.

@gvanrossum gvanrossum closed this Oct 12, 2020
@gvanrossum gvanrossum reopened this Oct 12, 2020
@gousaiyang
Copy link
Contributor Author

This works now. Can we merge it?

@gvanrossum gvanrossum merged commit 1c21765 into python:3.9 Oct 12, 2020
@bedevere-bot
Copy link

@gvanrossum: Please replace # with GH- in the commit message next time. Thanks!

@gousaiyang gousaiyang deleted the backport-b2c0a43-3.9 branch October 12, 2020 23:54
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.

4 participants