fonttools/tox.ini
Cosimo Lupo 568b4e9129 [tox.ini] use 'testpaths' to tell py.test where to look for tests
this to avoid picking up undesired tests by accident when running `py.test` command without specific dirs or files
2016-02-06 17:12:01 +00:00

24 lines
503 B
INI

[tox]
envlist = py27, pypy, py33, py34, py35
[testenv]
deps =
pytest
-rrequirements.txt
commands =
py.test
[pytest]
testpaths =
Lib/fontTools
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