From: Benjamin Peterson Date: Mon, 5 Sep 2016 22:40:59 +0000 (-0700) Subject: os.access does not allow a fd X-Git-Tag: v3.6.0b1~448 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a9ab165cd272f1332333aa20565662e2c1a29468;p=thirdparty%2FPython%2Fcpython.git os.access does not allow a fd --- diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index c1e1adc8bef1..c5bea8518347 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)),