(filename)
return os.path.abspath(filename) if sys.platform == 'cygwin' else filename
Contrary to POSIX 2008, on Cygwin, getcwd (3) contains
    symlink components. Using
    os.path.abspath() works around this limitation. A fix in os.getcwd()
    would probably better, in Cygwin even more so, except
    that this seems to be by design...
Contrary to POSIX 2008, on Cygwin, getcwd (3) contains
    symlink components. Using
    os.path.abspath() works around this limitation. A fix in os.getcwd()
    would probably better, in Cygwin even more so, except
    that this seems to be by design...
Contrary to POSIX 2008 on Cygwin getcwd ( 3 ) contains symlink components . Using os . path . abspath () works around this limitation . A fix in os . getcwd () would probably better in Cygwin even more so except that this seems to be by design ...
def _cygwin_patch(filename):  # pragma: nocover
    """
    Contrary to POSIX 2008, on Cygwin, getcwd (3) contains
    symlink components. Using
    os.path.abspath() works around this limitation. A fix in os.getcwd()
    would probably better, in Cygwin even more so, except
    that this seems to be by design...
    """
    return os.path.abspath(filename) if sys.platform == 'cygwin' else filename
def _cygwin_patch ( filename ) : # pragma: nocover return os . path . abspath ( filename ) if sys . platform == 'cygwin' else filename