File: skip-tests-needing-download.patch

package info (click to toggle)
python-xarray 2025.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,740 kB
  • sloc: python: 118,074; makefile: 260; sh: 47
file content (26 lines) | stat: -rw-r--r-- 970 bytes parent folder | download | duplicates (2)
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(+)

--- a/xarray/tests/test_backends.py
+++ b/xarray/tests/test_backends.py
@@ -5254,6 +5254,7 @@
     engine: T_NetcdfEngine = "h5netcdf"
     test_remote_dataset: str = "https://archive.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(
@@ -5263,6 +5264,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 = {