From a9ab165cd272f1332333aa20565662e2c1a29468 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 5 Sep 2016 15:40:59 -0700 Subject: [PATCH] os.access does not allow a fd --- Lib/test/test_os.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index c1e1adc8be..c5bea85183 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -2826,7 +2826,7 @@ class PathTConverterTests(unittest.TestCase): functions = [ ('stat', True, (), None), ('lstat', False, (), None), - ('access', True, (os.F_OK,), None), + ('access', False, (os.F_OK,), None), ('chflags', False, (0,), None), ('lchflags', False, (0,), None), ('open', False, (0,), getattr(os, 'close', None)), -- 2.50.0