This commit is contained in:
parent
20af1bfcf0
commit
f3cb204a0a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user