diff --git a/python-attrs.spec b/python-attrs.spec index c592510..a0d58d7 100644 --- a/python-attrs.spec +++ b/python-attrs.spec @@ -48,8 +48,9 @@ object protocols. %pyproject_install %pyproject_save_files attr attrs -%if %{with tests} %check +%pyproject_check_import +%if %{with tests} %pytest %endif