os.access does not allow a fd

This commit is contained in:
Benjamin Peterson 2016-09-05 15:40:59 -07:00
parent b1cb8b2872
commit a9ab165cd2

View file

@ -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)),