From 80badbad4f6548035503f12bbea49cdaa87fd649 Mon Sep 17 00:00:00 2001 From: Bas Couwenberg Date: Wed, 2 Feb 2022 20:17:25 +0100 Subject: [PATCH] Mark tests requiring network. Allows skipping tests in environments without network. --- test_shapefile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test_shapefile.py b/test_shapefile.py index 3a95825..b08ce38 100644 --- a/test_shapefile.py +++ b/test_shapefile.py @@ -260,6 +260,7 @@ def test_reader_context_manager(): assert sf.shx.closed is True +@pytest.mark.network def test_reader_url(): """ Assert that Reader can open shapefiles from a url.