[Python-checkins] cpython: os.access does not allow a fd

benjamin.peterson python-checkins at python.org
Mon Sep 5 18:41:44 EDT 2016


https://hg.python.org/cpython/rev/9482afd18bb9
changeset:   103084:9482afd18bb9
user:        Benjamin Peterson <benjamin at python.org>
date:        Mon Sep 05 15:40:59 2016 -0700
summary:
  os.access does not allow a fd

files:
  Lib/test/test_os.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -2826,7 +2826,7 @@
     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)),

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list