File: disable-netcdf-roundtrip-tests.patch

package info (click to toggle)
python-xarray 2025.08.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,796 kB
  • sloc: python: 115,416; makefile: 258; sh: 47
file content (22 lines) | stat: -rw-r--r-- 768 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
From: Alastair McKinstry <mckinstry@debian.org>
Date: Thu, 7 Nov 2024 11:44:18 +0000
Subject: NetCDF4 mask/scale currently fails on Debian.

Last-Updated: 2024-11-07
Forwarded: not-needed

Disable testing of these for experimental release
---
 xarray/tests/test_backends.py | 1 +
 1 file changed, 1 insertion(+)

--- a/xarray/tests/test_backends.py
+++ b/xarray/tests/test_backends.py
@@ -967,6 +967,7 @@
             (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data),
         ],
     )
+    @pytest.mark.xfail
     @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")])
     def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None:
         if hasattr(self, "zarr_version") and dtype == np.float32: