summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-01-18 00:22:11 +0000
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:26 +0100
commit1d643cffd2d461e41b563432f006b3b99d93ed6a (patch)
tree3a71d0ee8900b8e87693db8c198b819334f59d8f /gnu
parent2b6c1970922d8ade09085d03d243b117a571cf44 (diff)
gnu: python-dateparser: Fix tests.
* gnu/packages/python-xyz.scm (python-dateparser): [arguments]: Simplify. <test-flags>: Skip only one failing test. [phases]{set-check-environment}: Remove phase. [propagated-inputs]: Remove python-ruamel.yaml. Change-Id: If72eb17f98935204d636a76d2a3db1326eb35606
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm22
1 files changed, 5 insertions, 17 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1d089dc3bc..5376adcdcb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30880,28 +30880,16 @@ It adds a simple and readable way to print stuff during development.")
(build-system pyproject-build-system)
(arguments
(list
+ ;; tests: 23811 passed, 18 skipped, 1 deselected, 1 warning
#:test-flags
- #~(cons* "-k" "not test_relative_base_setting_2_en"
- (map
- (lambda (name)
- (string-append "--ignore=tests/" name ".py"))
- '("test_dateparser_data_integrity"
- "test_hijri"
- "test_jalali"
- "test_language_detect")))
- #:phases
- #~(modify-phases %standard-phases
- (add-before 'check 'set-check-environment
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "TZ" "UTC")
- (setenv "TZDIR"
- (search-input-directory inputs
- "share/zoneinfo")))))))
+ #~(list (string-join '("--deselect=tests/test_search.py"
+ "TestTranslateSearch"
+ "test_search_dates_with_prepositions")
+ "::"))))
(propagated-inputs
(list python-dateutil
python-pytz
python-regex
- python-ruamel.yaml
python-tzlocal))
(native-inputs
(list python-parameterized