diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index aa414ca14889a4..1e1980e3ac47e5 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -726,7 +726,7 @@ def test_access_denied(self): # denied. See issue 28075. # os.environ['TEMP'] should be located on a volume that # supports file ACLs. - fname = os.path.join(os.environ['TEMP'], self.fname) + fname = os.path.join(os.environ['TEMP'], self.fname + "_access") self.addCleanup(os_helper.unlink, fname) create_file(fname, b'ABC') # Deny the right to [S]YNCHRONIZE on the file to