SIGN IN SIGN UP

[3.11] gh-109295: Fix test_os.test_access_denied() for TEMP=cwd (GH-109299) (#109303)

gh-109295: Fix test_os.test_access_denied() for TEMP=cwd (GH-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.
(cherry picked from commit 7dedfd36dc16d9e1e15d7d0b0a636dd401a5a543)

Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
5d47fb186e7f2689fec89c7bfd72448ad4d352ca
Parent: abf3a68
Committed by GitHub <noreply@github.com> on 9/12/2023, 2:00:36 AM