diff options
-rw-r--r-- | setup.cfg | 17 | ||||
-rw-r--r-- | tox.ini | 2 |
2 files changed, 10 insertions, 9 deletions
@@ -46,7 +46,8 @@ where=src [options.extras_require] testing = - nose + pytest + pytest-cover coverage>=5.0 docs = @@ -54,13 +55,13 @@ docs = docutils pylons-sphinx-themes>=1.0.9 -[nosetests] -match=^test -nocapture=1 -cover-package=waitress -cover-erase=1 - [bdist_wheel] universal = 1 - +[tool:pytest] +python_files = test_*.py +# For the benefit of test_wasyncore.py +python_classes = Test_* +testpaths = + tests +addopts = -W always --cov --cov-report=term-missing @@ -10,7 +10,7 @@ isolated_build = True [testenv] commands = python --version - nosetests {posargs:} + pytest {posargs:} extras = testing setenv = |