KEMBAR78
[3.9] bpo-39481: Fix duplicate SimpleQueue type in test_genericalias.py (GH-22619) by gousaiyang · Pull Request #22624 · python/cpython · GitHub
Skip to content

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 gousaiyang@163.com

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 <gousaiyang@163.com>
@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