]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-39481: Fix duplicate SimpleQueue type in test_genericalias.py (GH-22619...
authorSaiyang Gou <gousaiyang@163.com>
Mon, 12 Oct 2020 23:52:03 +0000 (16:52 -0700)
committerGitHub <noreply@github.com>
Mon, 12 Oct 2020 23:52:03 +0000 (16:52 -0700)
commit1c217652b690c184b43d8e2b6529a60a14e64328
tree929df8b34660ab94901f1c0af439f698f9c07037
parent8a12503b4532e33d590ecea7eb94cd0e6b0f1488
[3.9] bpo-39481: Fix duplicate SimpleQueue type in test_genericalias.py (GH-22619) (#22624)

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 b2c0a43699bd9023a69e3fa554f5488a2e17e278)

Co-authored-by: Saiyang Gou <gousaiyang@163.com>
Lib/test/test_genericalias.py