summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.cfg5
-rw-r--r--tox.ini5
2 files changed, 7 insertions, 3 deletions
diff --git a/setup.cfg b/setup.cfg
index d47317b..3ce1e59 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -3,3 +3,8 @@ upload-dir = docs/html
[bdist_wheel]
universal = 1
+
+[tool:pytest]
+testpaths = tests
+filterwarnings =
+ error
diff --git a/tox.ini b/tox.ini
index a6e07ae..48666ae 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,6 +2,5 @@
envlist = py27,py35,py36,py37,py38,jython
[testenv]
-deps=nose
-commands=nosetests
-
+deps = pytest
+commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs:tests}