SIGN IN SIGN UP

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

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
7479a7aca2c8b5799ae0a84e2bbd5f07c0daf1b1
Parent: 8acfb42
Committed by GitHub <noreply@github.com> on 9/12/2023, 2:23:03 PM