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
|
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(+)
--- a/xarray/tests/test_tutorial.py
+++ b/xarray/tests/test_tutorial.py
@@ -7,12 +7,14 @@
@network
class TestLoadDataset:
+ @pytest.mark_xfail
def test_download_from_github(self, tmp_path) -> None:
cache_dir = tmp_path / tutorial._default_cache_dir_name
ds = tutorial.open_dataset("tiny", cache_dir=cache_dir).load()
tiny = DataArray(range(5), name="tiny").to_dataset()
assert_identical(ds, tiny)
+ @pytest.mark_xfail
def test_download_from_github_load_without_cache(
self, tmp_path, monkeypatch
) -> None:
|