summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-05 22:40:59 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-05 22:40:59 (GMT)
commita9ab165cd272f1332333aa20565662e2c1a29468 (patch)
tree0b45b0e82e34a9275b7cb135d2dc3b4966f736f1
parentb1cb8b287223e84b39a1a1c58aa8046a261feb38 (diff)
downloadcpython-a9ab165cd272f1332333aa20565662e2c1a29468.zip
cpython-a9ab165cd272f1332333aa20565662e2c1a29468.tar.gz
cpython-a9ab165cd272f1332333aa20565662e2c1a29468.tar.bz2
os.access does not allow a fd
-rw-r--r--Lib/test/test_os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index c1e1adc..c5bea85 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)),