Tests - minor formatting changes

This commit is contained in:
Renato Alves 2015-02-16 15:37:31 +00:00
parent 32d837fb25
commit 9180aa6e33

View file

@ -350,8 +350,8 @@ except ImportError:
# Additionally check that `file` is not a directory, as on Windows
# directories pass the os.access check.
def _access_check(fn, mode):
return (os.path.exists(fn) and os.access(fn, mode)
and not os.path.isdir(fn))
return (os.path.exists(fn) and os.access(fn, mode) and
not os.path.isdir(fn))
# If we're given a path with a directory part, look it up directly
# rather than referring to PATH directories. This includes checking