Dirk Mueller 2023-04-15 14:11:44 +00:00 committed by Git OBS Bridge
parent 20af1bfcf0
commit f3cb204a0a

View File

@ -42,6 +42,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module jaraco.functools}
BuildRequires: %{python_module jaraco.itertools}
BuildRequires: %{python_module more-itertools}
BuildRequires: %{python_module pytest}
@ -72,7 +73,7 @@ rm -r zipp.egg-info
# skip performance test (we do not have func_timeout sofar)
sed -i -e 's:import func_timeout::' \
-e 's:@func_timeout.func_set_timeout(.):@unittest.skip("skip performance test"):' \
test_zipp.py
tests/test_zipp.py
%pytest
%endif