From: Debian Science Team Date: Sun, 21 Apr 2024 12:50:13 +0000 (+0100) Subject: Don't require 32-bit to be time32 X-Git-Tag: archive/raspbian/2.2.3+dfsg-7+rpi1~1^2^2^2^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2ca2ab78ea090b31b3def5fc37fd271e05c11ecd;p=pandas.git Don't require 32-bit to be time32 Debian armhf/armel (but not i386) are now time64 Author: Graham Inggs Bug-Debian: https://bugs.debian.org/1068104 Forwarded: no Gbp-Pq: Name 1068104_time64.patch --- diff --git a/pandas/tests/indexes/datetimes/test_ops.py b/pandas/tests/indexes/datetimes/test_ops.py index d6ef4198..d5e1e50e 100644 --- a/pandas/tests/indexes/datetimes/test_ops.py +++ b/pandas/tests/indexes/datetimes/test_ops.py @@ -35,7 +35,7 @@ class TestDatetimeIndexOps: tz = tz_naive_fixture if freq == "A" and not IS64 and isinstance(tz, tzlocal): request.node.add_marker( - pytest.mark.xfail(reason="OverflowError inside tzlocal past 2038") + pytest.mark.xfail(reason="OverflowError inside tzlocal past 2038", strict=False) ) idx = date_range(start="2013-04-01", periods=30, freq=freq, tz=tz) diff --git a/pandas/tests/tseries/offsets/test_common.py b/pandas/tests/tseries/offsets/test_common.py index 1b90b94d..173fee3b 100644 --- a/pandas/tests/tseries/offsets/test_common.py +++ b/pandas/tests/tseries/offsets/test_common.py @@ -143,7 +143,7 @@ def test_apply_out_of_range(request, tz_naive_fixture, _offset): # If we hit OutOfBoundsDatetime on non-64 bit machines # we'll drop out of the try clause before the next test request.node.add_marker( - pytest.mark.xfail(reason="OverflowError inside tzlocal past 2038") + pytest.mark.xfail(reason="OverflowError inside tzlocal past 2038", strict=False) ) elif ( isinstance(tz, tzlocal)