From: Alastair McKinstry <mckinstry@debian.org>
Date: Wed, 11 Mar 2020 10:23:10 +0000
Subject: downloads are expected to fail on Debian test machines

Forwarded: not-needed
Last-Updated: 2021-08-25
---
 xarray/tests/test_tutorial.py | 2 ++
 1 file changed, 2 insertions(+)

--- python-xarray.orig/xarray/tests/test_tutorial.py
+++ python-xarray/xarray/tests/test_tutorial.py
@@ -3,16 +3,18 @@
 from xarray import DataArray, DataTree, tutorial
 from xarray.testing import assert_identical
 from xarray.tests import network
-
+import pytest
 
 @network
 class TestLoadDataset:
+    @pytest.mark.skip("Skipping due to download needed")
     def test_download_from_github(self, tmp_path) -> None:
         cache_dir = tmp_path / tutorial._default_cache_dir_name
         ds = tutorial.load_dataset("tiny", cache_dir=cache_dir)
         tiny = DataArray(range(5), name="tiny").to_dataset()
         assert_identical(ds, tiny)
 
+    @pytest.mark.skip("Skipping due to download needed")
     def test_download_from_github_load_without_cache(self, tmp_path) -> None:
         cache_dir = tmp_path / tutorial._default_cache_dir_name
         ds_nocache = tutorial.load_dataset("tiny", cache=False, cache_dir=cache_dir)
@@ -22,12 +24,14 @@
 
 @network
 class TestLoadDataTree:
+    @pytest.mark.skip("Skipping due to download needed")
     def test_download_from_github(self, tmp_path) -> None:
         cache_dir = tmp_path / tutorial._default_cache_dir_name
         ds = tutorial.load_datatree("tiny", cache_dir=cache_dir)
         tiny = DataTree.from_dict({"/": DataArray(range(5), name="tiny").to_dataset()})
         assert_identical(ds, tiny)
 
+    @pytest.mark.skip("Skipping due to download needed")
     def test_download_from_github_load_without_cache(self, tmp_path) -> None:
         cache_dir = tmp_path / tutorial._default_cache_dir_name
         ds_nocache = tutorial.load_datatree("tiny", cache=False, cache_dir=cache_dir)
