environment/lib/python2.7/site-packages/nose/util.py
def file_like(name):
    """A name is file-like if it is a path that exists, or it has a
    directory part, or it ends in .py, or it isn't a legal python
    identifier.
    """
    return (os.path.exists(name)
            or os.path.dirname(name)
            or name.endswith('.py')
            or not ident_re.match(os.path.splitext(name)[0]))
def file_like(name):
    return (os.path.exists(name)
            or os.path.dirname(name)
            or name.endswith('.py')
            or not ident_re.match(os.path.splitext(name)[0]))
def file_like ( name ) : return ( os . path . exists ( name ) or os . path . dirname ( name ) or name . endswith ( '.py' ) or not ident_re . match ( os . path . splitext ( name ) [ 0 ] ) )
A name is file-like if it is a path that exists, or it has a
    directory part, or it ends in .py, or it isn't a legal python
    identifier.
A name is file - like if it is a path that exists or it has a directory part or it ends in . py or it isn t a legal python identifier .