diff options
-rw-r--r-- | testing/py3-pytest-timeout/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/py3-pytest-timeout/APKBUILD b/testing/py3-pytest-timeout/APKBUILD index 2af6ae0bda..4d718362da 100644 --- a/testing/py3-pytest-timeout/APKBUILD +++ b/testing/py3-pytest-timeout/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Oleg Titov <oleg.titov@gmail.com> pkgname=py3-pytest-timeout pkgver=1.3.3 -pkgrel=0 +pkgrel=1 pkgdesc="py.test plugin to abort hanging tests" url="https://bitbucket.org/pytest-dev/pytest-timeout" arch="noarch" @@ -19,7 +19,8 @@ build() { } check() { - tox -e py37 -- \ + local _py3ver=$(python3 -c 'import sys; print("{}{}".format(sys.version_info.major, sys.version_info.minor))') + tox -e py$_py3ver -- \ --deselect="test_pytest_timeout.py::test_fix_setup[function-meth0]" \ --deselect="test_pytest_timeout.py::test_fix_setup[class-meth0]" \ --deselect="test_pytest_timeout.py::test_fix_setup[module-meth0]" \ |