File: skip-tests-needing-download.patch

package info (click to toggle)
python-xarray 2025.08.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,804 kB
  • sloc: python: 115,417; makefile: 260; sh: 47
file content (26 lines) | stat: -rw-r--r-- 938 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
25
26
From: Alastair McKinstry <mckinstry@debian.org>
Date: Thu, 1 Feb 2024 10:47:31 +0000
Subject: Skip 2 tests requiring download

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

--- python-xarray.orig/xarray/tests/test_backends.py
+++ python-xarray/xarray/tests/test_backends.py
@@ -5060,6 +5060,7 @@
         "https://www.unidata.ucar.edu/software/netcdf/examples/OMI-Aura_L2-example.nc"
     )
 
+    @pytest.mark.skip("Skipping due to download needed")
     @pytest.mark.filterwarnings("ignore:Duplicate dimension names")
     def test_get_variable_list(self) -> None:
         with open_dataset(
@@ -5069,6 +5070,7 @@
         ) as actual:
             assert "Temperature" in list(actual)
 
+    @pytest.mark.skip("Skipping due to download needed")
     @pytest.mark.filterwarnings("ignore:Duplicate dimension names")
     def test_get_variable_list_empty_driver_kwds(self) -> None:
         driver_kwds = {