Author: Andreas Tille <tille@debian.org>
Last-Update: Thu, 29 Sep 2022 09:27:12 +0200
Description: Ignore some tests that try to access network

--- a/tests/test_util/test_io.py
+++ b/tests/test_util/test_io.py
@@ -317,6 +317,7 @@ def test_open_zip_multi(tmp_dir):
         open_(zip_path)
 
 
+@pytest.mark.skip(reason="Do not test in Debian since offline")
 @pytest.mark.parametrize(
     "mode",
     ("r", "rb", "rt", None),
@@ -357,6 +358,7 @@ def test_open_url_local():
     assert remote_data.splitlines() == local_data.splitlines()
 
 
+@pytest.mark.skip(reason="Do not test in Debian since offline")
 def test_open_url_compressed():
     """comparing compressed file handling"""
     file_name = "formattest.fasta.gz"
@@ -373,6 +375,7 @@ def test_open_url_compressed():
     assert remote_data.splitlines() == local_data.splitlines()
 
 
+@pytest.mark.skip(reason="Do not test in Debian since offline")
 def test_open_url_write_exceptions():
     """Test 'w' mode (should raise Exception)"""
     with pytest.raises(Exception):
@@ -382,6 +385,7 @@ def test_open_url_write_exceptions():
         )
 
 
+@pytest.mark.skip(reason="Do not test in Debian since offline")
 def test_open_url_exceptions():
     """non-http(s) address for url (should raise Exception)"""
     with pytest.raises(Exception):
