<commit_before>#!/usr/bin/env python
import sys

import logging
logging.disable(logging.CRITICAL)

from argparse import ArgumentParser

import tests.config
from django_nose import NoseTestSuiteRunner


def run_tests(verbosity, *test_args):
    if not test_args:
        test_args = ['tests']
    test_runner = NoseTestSuiteRunner(verbosity=verbosity)
    num_failures = test_runner.run_tests(test_args)
    if num_failures:
        sys.exit(num_failures)


if __name__ == '__main__':
    parser = ArgumentParser()
    parser.add_argument('-v', '--verbosity', dest='verbosity', default=1,
                      type=int, help="Verbosity of output")
    options, args = parser.parse_known_args()

    print 'Running tests'
    args += ['--with-specplugin', '-s', '-x']
    run_tests(options.verbosity, *args)<commit_msg>Removing automatic addition of --with-specplugin<commit_after>#!/usr/bin/env python
import sys

import logging
logging.disable(logging.CRITICAL)

from argparse import ArgumentParser

import tests.config
from django_nose import NoseTestSuiteRunner


def run_tests(verbosity, *test_args):
    if not test_args:
        test_args = ['tests']
    test_runner = NoseTestSuiteRunner(verbosity=verbosity)
    num_failures = test_runner.run_tests(test_args)
    if num_failures:
        sys.exit(num_failures)


if __name__ == '__main__':
    parser = ArgumentParser()
    parser.add_argument('-v', '--verbosity', dest='verbosity', default=1,
                      type=int, help="Verbosity of output")
    options, args = parser.parse_known_args()

    print 'Running tests'
    args += ['-s', '-x']
    run_tests(options.verbosity, *args)
{'fraction_non_alphanumeric': 0.11454545454545455, 'fraction_numerical': 0.0012121212121212121, 'mean_word_length': 3.8558823529411765, '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': '7504682', 'n_tokens_mistral': 530, 'n_tokens_neox': 516, 'n_words': 116}