This commit is contained in:
parent
20af1bfcf0
commit
f3cb204a0a
@ -42,6 +42,7 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module jaraco.functools}
|
||||||
BuildRequires: %{python_module jaraco.itertools}
|
BuildRequires: %{python_module jaraco.itertools}
|
||||||
BuildRequires: %{python_module more-itertools}
|
BuildRequires: %{python_module more-itertools}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
@ -72,7 +73,7 @@ rm -r zipp.egg-info
|
|||||||
# skip performance test (we do not have func_timeout sofar)
|
# skip performance test (we do not have func_timeout sofar)
|
||||||
sed -i -e 's:import func_timeout::' \
|
sed -i -e 's:import func_timeout::' \
|
||||||
-e 's:@func_timeout.func_set_timeout(.):@unittest.skip("skip performance test"):' \
|
-e 's:@func_timeout.func_set_timeout(.):@unittest.skip("skip performance test"):' \
|
||||||
test_zipp.py
|
tests/test_zipp.py
|
||||||
%pytest
|
%pytest
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user