From a5e331ad3f2790bf1249dbbd85957d5fbd47d3e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 10 Oct 2023 14:13:33 +0200 Subject: [PATCH] Always run at least an import check in %check --- python-requests.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-requests.spec b/python-requests.spec index a95454b..46597f3 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -75,8 +75,9 @@ sed -i 's/ --doctest-modules//' pyproject.toml %pyproject_save_files requests -%if %{with tests} %check +%pyproject_check_import +%if %{with tests} # test_use_proxy_from_environment needs pysocks %pytest -v %{!?with_extras:-k "not test_use_proxy_from_environment"} %endif