Always run at least an import check in %check
This commit is contained in:
parent
85302c38d7
commit
a5e331ad3f
@ -75,8 +75,9 @@ sed -i 's/ --doctest-modules//' pyproject.toml
|
|||||||
%pyproject_save_files requests
|
%pyproject_save_files requests
|
||||||
|
|
||||||
|
|
||||||
%if %{with tests}
|
|
||||||
%check
|
%check
|
||||||
|
%pyproject_check_import
|
||||||
|
%if %{with tests}
|
||||||
# test_use_proxy_from_environment needs pysocks
|
# test_use_proxy_from_environment needs pysocks
|
||||||
%pytest -v %{!?with_extras:-k "not test_use_proxy_from_environment"}
|
%pytest -v %{!?with_extras:-k "not test_use_proxy_from_environment"}
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user