* [bug#74302] [PATCH] gnu: python-crontab: Fix failing tests
@ 2024-11-10 20:54 TakeV via Guix-patches via
2024-11-14 14:43 ` bug#74302: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: TakeV via Guix-patches via @ 2024-11-10 20:54 UTC (permalink / raw)
To: 74302
Cc: TakeV, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
Sharlatan Hellseher, Tanguy Le Carrour, jgart
* gnu/packages/python-xyz.scm (python-crontab) [arguments]: Turn off frequency
at month check
Change-Id: Ia6a8f703119dc61ddc6b359fca161dfb5a21319d
---
Apparently this check fails on leap years.
gnu/packages/python-xyz.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5083473c08..2d84bfa57e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29547,6 +29547,9 @@ (define-public python-crontab
"tests/test_frequency.py")
(("test_07_non_posix_shell")
"__off_test_07_non_posix_shell")
+ ;; Fails on leap years
+ (("test_19_frequency_at_month")
+ "__off_test_19_frequency_at_month")
;; AssertionError: 48 != 24
(("test_20_frequency_at_year")
"__off_test_20_frequency_at_year")))))))
base-commit: ee3219996b688d2c3336a7ea1e262308cf2d00b7
prerequisite-patch-id: 8e79e3033f6e8ae459eab31d7cf5149a8eb01e9c
prerequisite-patch-id: 2442dd8fbe7af78372dbf03871fb6c5506eb75fe
--
2.46.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#74302: [PATCH] gnu: python-crontab: Fix failing tests
2024-11-10 20:54 [bug#74302] [PATCH] gnu: python-crontab: Fix failing tests TakeV via Guix-patches via
@ 2024-11-14 14:43 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-11-14 14:43 UTC (permalink / raw)
To: TakeV
Cc: Sharlatan Hellseher, Munyoki Kilyungi, Lars-Dominik Braun, jgart,
Marius Bakke, Tanguy Le Carrour, 74302-done
TakeV <takev@disroot.org> skribis:
> * gnu/packages/python-xyz.scm (python-crontab) [arguments]: Turn off frequency
> at month check
>
> Change-Id: Ia6a8f703119dc61ddc6b359fca161dfb5a21319d
Applied, thanks!
> + ;; Fails on leap years
> + (("test_19_frequency_at_month")
> + "__off_test_19_frequency_at_month")
An interesting time trap…
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-14 14:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-10 20:54 [bug#74302] [PATCH] gnu: python-crontab: Fix failing tests TakeV via Guix-patches via
2024-11-14 14:43 ` bug#74302: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).