Don't require 32-bit to be time32
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sun, 21 Apr 2024 12:50:13 +0000 (13:50 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 21 Apr 2024 12:50:13 +0000 (13:50 +0100)
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

pandas/tests/indexes/datetimes/test_ops.py
pandas/tests/tseries/offsets/test_common.py

index d6ef4198fad2ed3b7528be87eb2c258194da44b9..d5e1e50e71eab9a7a15ec365855da7c04f6c5684 100644 (file)
@@ -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)
index 1b90b94d8a9dac279fc44472e5d104bcde127c5b..173fee3b67059a21e22c3666b600ecd79e0298c5 100644 (file)
@@ -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)