diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2025-03-21 07:59:34 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:18 +0200 |
| commit | b835357bf212c575dfdc6bfb6d13433400e6a12f (patch) | |
| tree | 04d7a48fd1dfcc4d9c38dfa86bcdaf596132c150 /gnu/packages/python-xyz.scm | |
| parent | 474dc182b71e7729a52ea000fbf02a650f33b454 (diff) | |
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0a158270f6..0b3ebd4e94 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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") |
