parameters: (filename)
return_statement: return os.path.abspath(filename) if sys.platform == 'cygwin' else filename
docstring: 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...
function: 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
function_tokens: def _cygwin_patch ( filename ) : # pragma: nocover return os . path . abspath ( filename ) if sys . platform == 'cygwin' else filename