File: disable-cftime-false-standard-calendar-tests.patch

package info (click to toggle)
python-xarray 2026.01.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 13,676 kB
  • sloc: python: 120,278; makefile: 269
file content (24 lines) | stat: -rw-r--r-- 942 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Alastair McKinstry <alastair@mckinstry.ie>
Date: Fri, 17 Jan 2025 08:21:34 +0000
Subject: Disable test failures known upstream

---
 xarray/tests/test_backends.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Index: python-xarray-2026.01.0/xarray/tests/test_backends.py
===================================================================
--- python-xarray-2026.01.0.orig/xarray/tests/test_backends.py
+++ python-xarray-2026.01.0/xarray/tests/test_backends.py
@@ -6968,9 +6968,8 @@ def test_use_cftime_true(calendar, units
 
 @requires_scipy_or_netCDF4
 @pytest.mark.parametrize("calendar", _STANDARD_CALENDARS)
-@pytest.mark.xfail(
-    has_numpy_2, reason="https://github.com/pandas-dev/pandas/issues/56996"
-)
+@pytest.mark.xfail
+# (   has_numpy_2, reason="https://github.com/pandas-dev/pandas/issues/56996")
 def test_use_cftime_false_standard_calendar_in_range(calendar) -> None:
     x = [0, 1]
     time = [0, 720]