Skip to content

Commit d7a4f36

Browse files
committed
gh-111877: Update test to fix intermittent failures
1 parent d457345 commit d7a4f36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_os.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3087,7 +3087,7 @@ def test_stat_unlink_race(self):
30873087

30883088
@support.requires_subprocess()
30893089
def test_stat_inaccessible_file(self):
3090-
filename = os_helper.TESTFN
3090+
filename = os.path.abspath(os_helper.TESTFN)
30913091
ICACLS = os.path.expandvars(r"%SystemRoot%\System32\icacls.exe")
30923092

30933093
with open(filename, "wb") as f:

0 commit comments

Comments
 (0)