summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDaniel Hahler <github@thequod.de>2018-10-30 13:40:53 +0100
committerChris Dent <chris.dent@gmail.com>2018-10-30 12:40:53 +0000
commit455203d2b3b0c898df6d3661cb1de577dfeda483 (patch)
treec86f8fd4df56ac146bcfdc87552dc645516c9d80 /tox.ini
parent495ff974d1a972f3751bd6d142813f326bc3f1c1 (diff)
downloadpaste-git-455203d2b3b0c898df6d3661cb1de577dfeda483.tar.gz
Pytest fixes (#9)
* pytest: fix collection warnings via __test__=False Fixes > "cannot collect test class %r because it has a __init__ constructor Ref: https://github.com/pytest-dev/pytest/issues/2007 * pytest: configure testpaths This is faster with test collection. * pytest: fix warning with doctests Fixes > /usr/lib/python3.7/site-packages/_pytest/python.py:764: > RemovedInPytest4Warning: usage of Generator.Function is deprecated, > please use pytest.Function instead * Minor fixes around s/py.test/pytest/
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 291442d..00ecf6e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,4 +11,4 @@ deps =
setenv =
coverage: PYTEST_ADDOPTS=--cov --cov-report=term-missing
commands =
- py.test {posargs}
+ pytest {posargs}