From df8c144a658befff8a41fa8ec17d5aa9919906e7 Mon Sep 17 00:00:00 2001 From: Carl George Date: Apr 23 2021 19:45:45 +0000 Subject: Run tests with %pytest macro --- diff --git a/python-sniffio.spec b/python-sniffio.spec index 7969a17..ef700f5 100644 --- a/python-sniffio.spec +++ b/python-sniffio.spec @@ -61,7 +61,7 @@ rm -rf %{eggname}.egg-info %if %{with tests} %check -PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} --verbose +%pytest --verbose %endif