]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-109748: Fix again venv test_zippath_from_non_installed_posix() (GH-110149...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 30 Sep 2023 18:46:37 +0000 (11:46 -0700)
committerGitHub <noreply@github.com>
Sat, 30 Sep 2023 18:46:37 +0000 (18:46 +0000)
commit080f5b98d1eac67abc13fe9654ff8a3feeef55ea
treea0117269b8a438123c13d868a12194709b292c22
parentcb1f49991e86d773f6d36a49b81be12abf811057
[3.11] gh-109748: Fix again venv test_zippath_from_non_installed_posix() (GH-110149) (#110153)

gh-109748: Fix again venv test_zippath_from_non_installed_posix() (GH-110149)

Call also copy_python_src_ignore() on listdir() names.

shutil.copytree(): replace set() with an empty tuple. An empty tuple
becomes a constant in the compiler and checking if an item is in an
empty tuple is cheap.
(cherry picked from commit 0def8c712bb6f66f1081cab71deb3681566b846d)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/shutil.py
Lib/test/test_support.py
Lib/test/test_venv.py