From 0bd61604bbf4fa0bdb30de6f26b60f66e9c3b6bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 2 Oct 2020 11:49:19 +0200 Subject: [PATCH] Switch to %pytest --- python-packaging.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-packaging.spec b/python-packaging.spec index c55e9a1..dd5ca68 100644 --- a/python-packaging.spec +++ b/python-packaging.spec @@ -90,7 +90,7 @@ rm -rf html/_static/fonts/ %if %{with tests} %check -%{__python3} -m pytest tests/ +%pytest %endif %files -n python%{python3_pkgversion}-%{pypi_name}