~ruther/guix-local

b835357bf212c575dfdc6bfb6d13433400e6a12f — Ricardo Wurmus 1 year, 3 months ago 474dc18
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
1 files changed, 6 insertions(+), 1 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +6 -1
@@ 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")