1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-27 20:50:34 +02:00

gnu: python-strict-rfc3339: Disable more tests on 32-bit platforms.

* gnu/packages/python-xyz.scm (python-strict-rfc3339)[arguments]:
Conditionally ignore the TestTimestampToRFC3339UTCOffset tests on 32-bit
platforms due to the size of the time_t type.

Change-Id: I2c9844c6a022946d9ec917bb3a6b06777b0fc260
This commit is contained in:
Ricardo Wurmus
2025-03-21 07:59:34 +01:00
committed by Andreas Enge
parent 474dc182b7
commit b835357bf2

View File

@@ -37677,7 +37677,12 @@ statements in OFX files.")
;; The timestamp to local offset tests fail due to
;; missing timezone data (see:
;; https://github.com/danielrichman/strict-rfc3339/issues/9).
"-k" "not LocalOffset")))))))
"-k"
#$@(if (or (target-x86-32?) (target-arm32?))
;; On 32-bit platforms the size of time_t is
;; too small for these tests.
'("not LocalOffset and not TestTimestampToRFC3339UTCOffset")
'("not LocalOffset")))))))))
(native-inputs (list python-pytest))
(home-page "https://github.com/danielrichman/strict-rfc3339")
(synopsis "RFC3339 procedures library")