<commit_before>from setuptools.command.test import test as TestCommand
import codecs
import setuptools
import sys

from setupext import pip


def _read_file(filename):
    with codecs.open(filename, 'rb', encoding='utf-8') as file_obj:
        return '\n' + file_obj.read()


class Tox(TestCommand):
    user_options = [('tox-args=', 'a', 'Arguments to pass to tox')]

    def initialize_options(self):
        TestCommand.initialize_options(self)
        self.tox_args = None

    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args = []
        self.test_suite = True

    def run_tests(self):
        import shlex
        import tox
        sys.exit(tox.cmdline(args=shlex.split(self.tox_args)))


setuptools.setup(
    name='setupext-pip',
    version=pip.__version__,
    author='<NAME>',
    author_email='<EMAIL>',<commit_msg>setup.py: Fix setup.py test w/o arguments.<commit_after>from setuptools.command.test import test as TestCommand
import codecs
import setuptools
import sys

from setupext import pip


def _read_file(filename):
    with codecs.open(filename, 'rb', encoding='utf-8') as file_obj:
        return '\n' + file_obj.read()


class Tox(TestCommand):
    user_options = [('tox-args=', 'a', 'Arguments to pass to tox')]

    def initialize_options(self):
        TestCommand.initialize_options(self)
        self.tox_args = None

    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args = []
        self.test_suite = True

    def run_tests(self):
        import shlex
        import tox
        sys.exit(tox.cmdline(args=shlex.split(self.tox_args or '')))


setuptools.setup(
    name='setupext-pip',
    version=pip.__version__,
    author='<NAME>',
    author_email='<EMAIL>',
{'fraction_non_alphanumeric': 0.11708683473389356, 'fraction_numerical': 0.0011204481792717086, 'mean_word_length': 3.293269230769231, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2663197', 'n_tokens_mistral': 597, 'n_tokens_neox': 568, 'n_words': 125}