<commit_before>[tox]
envlist = py27, pypy, py33, py34, py35

[testenv]
deps =
    pytest
    -rrequirements.txt
commands =
    py.test

[pytest]
minversion = 2.8
testpaths =
    Lib/fontTools
python_files =
    *_test.py
python_classes = 
    *Test
addopts =
    # run py.test in verbose mode
    -v
    # show extra test summary info
    -r a
    # run doctests in all .py modules
    --doctest-modules
    # py.test raises ImportError with inspect.py (requires pygtk) and with
    # reportLabPen.py (reportlab). They don't have doctests, it's OK to skip.
    --doctest-ignore-import-errors
<commit_msg>tox.ini: specify 'basepython' (with TOXPYTHON override); print python version and arch; call `python -m pip` to work around Appveyor-installed pip<commit_after>[tox]
envlist = py27, pypy, py34, py35

[testenv]
basepython =
    py27: {env:TOXPYTHON:python2.7}
    pypy: {env:TOXPYTHON:pypy}
    py34: {env:TOXPYTHON:python3.4}
    py35: {env:TOXPYTHON:python3.5}
deps =
    pytest
    -rrequirements.txt
install_command =
    python -m pip install -v {opts} {packages}
commands =
    # check that we have the expected Python version and architecture
    python -c "import sys; print(sys.version)"
    python -c "import struct; print(struct.calcsize('P') * 8)"
    # run the test suite
    py.test

[pytest]
minversion = 2.8
testpaths =
    Lib/fontTools
python_files =
    *_test.py
python_classes = 
    *Test
addopts =
    # run py.test in verbose mode
    -v
    # show extra test summary info
    -r a
    # run doctests in all .py modules
    --doctest-modules
    # py.test raises ImportError with inspect.py (requires pygtk) and with
    # reportLabPen.py (reportlab). They don't have doctests, it's OK to skip.
    --doctest-ignore-import-errors

{'fraction_non_alphanumeric': 0.10187820147979511, 'fraction_numerical': 0.017643710870802503, 'mean_word_length': 3.0136986301369864, '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': '1899102', 'n_tokens_mistral': 652, 'n_tokens_neox': 618, 'n_words': 186}