[packages/python3-dateparser] - disable tests relying on network connection
qboosh
qboosh at pld-linux.org
Mon Jan 26 21:50:08 CET 2026
commit dfcbd8efd360fe1305d9a01ca45ed5c8abadf765
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jan 26 21:50:16 2026 +0100
- disable tests relying on network connection
python3-dateparser.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python3-dateparser.spec b/python3-dateparser.spec
index f6c724a..dfa344d 100644
--- a/python3-dateparser.spec
+++ b/python3-dateparser.spec
@@ -74,8 +74,9 @@ Dokumentacja API modułu Pythona dateparser.
%py3_build
%if %{with tests}
+# test_custom_language_detect_fast_text: fast_text parser downloads models from Internet
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-%{__python3} -m pytest tests
+%{__python3} -m pytest tests -k 'not test_custom_language_detect_fast_text'
%endif
%if %{with doc}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-dateparser.git/commitdiff/dfcbd8efd360fe1305d9a01ca45ed5c8abadf765
More information about the pld-cvs-commit
mailing list