Skip to content

Commit

Permalink
Merge pull request #2344 from greglucas/xfail-france
Browse files Browse the repository at this point in the history
FIX: Add xfail for bad test url
  • Loading branch information
rcomer authored Mar 9, 2024
2 parents 46aec1e + 68dec24 commit fe9630f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cartopy/tests/mpl/test_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def test_wfs():
@pytest.mark.network
@pytest.mark.skipif(not _HAS_PYKDTREE_OR_SCIPY or not _OWSLIB_AVAILABLE,
reason='OWSLib and at least one of pykdtree or scipy is required')
@pytest.mark.xfail(raises=ParseError,
@pytest.mark.xfail(raises=(ParseError, AttributeError),
reason="Bad XML returned from the URL")
@pytest.mark.mpl_image_compare(filename='wfs_france.png')
def test_wfs_france():
Expand Down

0 comments on commit fe9630f

Please sign in to comment.