<commit_before># 'Tox' is a tool for automating sdist/build/test cycles against
# multiple Python versions:
#   http://pypi.python.org/pypi/tox
#   http://tox.testrun.org/

# Running the command 'tox' while in the root of the numpy source
# directory will:
#   - Create a numpy source distribution (setup.py sdist)
#   - Then for every supported version of Python:
#     - Create a virtualenv in .tox/py$VERSION and install
#       dependencies. (These virtualenvs are cached across runs unless
#       you use --recreate.)
#     - Use pip to install the numpy sdist into the virtualenv
#     - Run the numpy tests
# To run against a specific subset of Python versions, use:
#   tox -e py24,py27

# Extra arguments will be passed to test-installed-numpy.py. To run
# the full testsuite:
#   tox full
# To run with extra verbosity:
#   tox -- -v

# Tox assumes that you have appropriate Python interpreters already
# installed and that they can be run as 'python2.4', 'python2.5', etc.

[tox]
envlist = py24,py25,py26,py27,py31,py32

[testenv]
deps=
  nose
changedir={envdir}
commands=python {toxinidir}/tools/test-installed-numpy.py {posargs:}

# Not run by default. Set up the way you want then use 'tox -e debug'
# if you want it:
[testenv:debug]
basepython=PYTHON-WITH-DEBUG-INFO
commands=gdb --args {envpython} {toxinidir}/tools/test-installed-numpy.py {posargs:}<commit_msg>Add separate-build tests to tox.ini<commit_after># 'Tox' is a tool for automating sdist/build/test cycles against
# multiple Python versions:
#   http://pypi.python.org/pypi/tox
#   http://tox.testrun.org/

# Running the command 'tox' while in the root of the numpy source
# directory will:
#   - Create a numpy source distribution (setup.py sdist)
#   - Then for every supported version of Python:
#     - Create a virtualenv in .tox/py$VERSION and install
#       dependencies. (These virtualenvs are cached across runs unless
#       you use --recreate.)
#     - Use pip to install the numpy sdist into the virtualenv
#     - Run the numpy tests
# To run against a specific subset of Python versions, use:
#   tox -e py24,py27

# Extra arguments will be passed to test-installed-numpy.py. To run
# the full testsuite:
#   tox full
# To run with extra verbosity:
#   tox -- -v

# Tox assumes that you have appropriate Python interpreters already
# installed and that they can be run as 'python2.4', 'python2.5', etc.

[tox]
envlist = py24,py25,py26,py27,py31,py32,py27-separate,py32-separate

[testenv]
deps=
  nose
changedir={envdir}
commands=python {toxinidir}/tools/test-installed-numpy.py {posargs:}

[testenv:py27-separate]
basepython=python2.7
env=NPY_SEPARATE_COMPILATION=1

[testenv:py32-separate]
basepython=python3.2
env=NPY_SEPARATE_COMPILATION=1

# Not run by default. Set up the way you want then use 'tox -e debug'
# if you want it:
[testenv:debug]
basepython=PYTHON-WITH-DEBUG-INFO
commands=gdb --args {envpython} {toxinidir}/tools/test-installed-numpy.py {posargs:}
{'fraction_non_alphanumeric': 0.10195813639432816, 'fraction_numerical': 0.01823092505064146, 'mean_word_length': 3.8813838550247115, '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': '2777908', 'n_tokens_mistral': 1020, 'n_tokens_neox': 967, 'n_words': 339}