forked from pool/python-virtualenv
Clean up SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=99
This commit is contained in:
parent
137b5ed8a9
commit
2bfa85c7d9
@ -105,12 +105,7 @@ rm -r tests/unit/activation
|
|||||||
export LANG="en_US.UTF8"
|
export LANG="en_US.UTF8"
|
||||||
skiptests="test_seed_link_via_app_data"
|
skiptests="test_seed_link_via_app_data"
|
||||||
# test_seed_link_via_app_data - online tests downloads from pypi
|
# test_seed_link_via_app_data - online tests downloads from pypi
|
||||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} PYTHONDONTWRITEBYTECODE=1
|
%pytest -k "not ($skiptests)"
|
||||||
%if "%{$python_bin_suffix}" != "3.8"
|
|
||||||
skiptests+=' or test_xonsh'
|
|
||||||
%endif
|
|
||||||
pytest-%{$python_bin_suffix} -v -k "not ($skiptests)"
|
|
||||||
}
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
Loading…
Reference in New Issue
Block a user