File: skip-tests-needing-download.patch

package info (click to toggle)
python-xarray 2025.03.1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 11,608 kB
  • sloc: python: 110,134; makefile: 255; sh: 53
file content (28 lines) | stat: -rw-r--r-- 1,106 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
27
28
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(+)

diff --git a/xarray/tests/test_backends.py b/xarray/tests/test_backends.py
index 811ae58..cf84c9e 100644
--- a/xarray/tests/test_backends.py
+++ b/xarray/tests/test_backends.py
@@ -4290,6 +4290,7 @@ class TestH5NetCDFDataRos3Driver(TestCommon):
         "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(
@@ -4299,6 +4300,7 @@ class TestH5NetCDFDataRos3Driver(TestCommon):
         ) 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 = {