]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109295: Fix test_os.test_access_denied() for TEMP=cwd (#109299)
authorVictor Stinner <vstinner@python.org>
Tue, 12 Sep 2023 01:35:26 +0000 (03:35 +0200)
committerGitHub <noreply@github.com>
Tue, 12 Sep 2023 01:35:26 +0000 (03:35 +0200)
commit7dedfd36dc16d9e1e15d7d0b0a636dd401a5a543
treefbea31c6f9dcfbfccf68f7bd1c4973f630da7369
parent09ea4b8706165fd9474165090a0ba86509abd6c8
gh-109295: Fix test_os.test_access_denied() for TEMP=cwd (#109299)

Fix test_os.test_access_denied() when the TEMP environment variable
is equal to the current working directory. Run the test using a
different filename, since self.fname already exists in this case.
Lib/test/test_os.py