]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109748: Fix again venv test_zippath_from_non_installed_posix() (#110149)
authorVictor Stinner <vstinner@python.org>
Sat, 30 Sep 2023 18:23:26 +0000 (20:23 +0200)
committerGitHub <noreply@github.com>
Sat, 30 Sep 2023 18:23:26 +0000 (20:23 +0200)
commit0def8c712bb6f66f1081cab71deb3681566b846d
tree0da50e62a5977a0963825cfc70159deb8a367394
parent74e425ec186dde6bcfb172616fe8f35ccb5a09bb
gh-109748: Fix again venv test_zippath_from_non_installed_posix() (#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.
Lib/shutil.py
Lib/test/test_support.py
Lib/test/test_venv.py