def METHOD_NAME():
    eol_chars = sourcecode.get_eol_chars('foo')
    if os.name == 'nt':
        assert eol_chars == "\r\n"
    elif sys.platform.startswith('linux'):
        assert eol_chars == "\n"
    elif sys.platform == 'darwin':
        assert eol_chars == "\r"