<commit_before>from fabric.api import local


def test(path=None):
    path = path or 'tests/'
    local('nosetests ' + path)


def autotest(path=None):
    while True:
        local('clear')
        test(path)
        local(
            'inotifywait -q -e create -e modify -e delete '
            '--exclude ".*\.(pyc|sw.)" -r mopidy/ tests/')

<commit_msg>Don't exit autotest if a test fails<commit_after>from fabric.api import local, settings


def test(path=None):
    path = path or 'tests/'
    local('nosetests ' + path)


def autotest(path=None):
    while True:
        local('clear')
        with settings(warn_only=True):
            test(path)
        local(
            'inotifywait -q -e create -e modify -e delete '
            '--exclude ".*\.(pyc|sw.)" -r mopidy/ tests/')


{'fraction_non_alphanumeric': 0.1415929203539823, 'fraction_numerical': 0.0, 'mean_word_length': 2.1181102362204722, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2578726', 'n_tokens_mistral': 270, 'n_tokens_neox': 261, 'n_words': 73}