summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index a50fe2f..60a15ce 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,5 +13,5 @@ setenv =
# The standard library unittest module can run tests on Python 2.7 and newer
commands =
python -c "import OpenSSL.SSL; print(OpenSSL.SSL.SSLeay_version(OpenSSL.SSL.SSLEAY_VERSION))"
- coverage run --branch --source=OpenSSL {envdir}/bin/py.test OpenSSL
+ coverage run --branch --source=OpenSSL -m pytest OpenSSL
coverage report -m