]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39481: Fix duplicate SimpleQueue type in test_genericalias.py (GH-22619)
authorSaiyang Gou <gousaiyang@163.com>
Fri, 9 Oct 2020 20:00:15 +0000 (13:00 -0700)
committerGitHub <noreply@github.com>
Fri, 9 Oct 2020 20:00:15 +0000 (13:00 -0700)
commitb2c0a43699bd9023a69e3fa554f5488a2e17e278
tree94c494fe3b164247a63499290e4729e7ccda6ffa
parenteb38c6b7aa35d3003ec0958533421902d19ce408
bpo-39481: Fix duplicate SimpleQueue type in test_genericalias.py (GH-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
Lib/test/test_genericalias.py