From: Benjamin Peterson Date: Mon, 5 Sep 2016 22:40:59 +0000 (-0700) Subject: os.access does not allow a fd X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9ab165cd272f1332333aa20565662e2c1a29468;p=python os.access does not allow a fd --- 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)),