Skip to content

Commit 0d58449

Browse files
authored
Merge pull request #2281 from greglucas/revert-wmts-xfails
Revert "MNT: xfail owslib tests and documentation that use NASA"
2 parents ca8a3b6 + 81559e1 commit 0d58449

File tree

4 files changed

+0
-9
lines changed

4 files changed

+0
-9
lines changed

docs/source/conf.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,6 @@
9393
sphinx_gallery_conf = {
9494
'capture_repr': (),
9595
'examples_dirs': ['../../examples'],
96-
# NASA wmts servers are returning bad content metadata
97-
"expected_failing_examples": [
98-
'../../examples/web_services/reprojected_wmts.py',
99-
'../../examples/web_services/wmts.py',
100-
'../../examples/web_services/wmts_time.py',
101-
],
10296
'filename_pattern': '^((?!sgskip).)*$',
10397
'gallery_dirs': ['gallery'],
10498
'within_subsection_order': ExampleTitleSortKey,

lib/cartopy/tests/io/test_ogc_clients.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ def test_float_resolution(self):
129129
@pytest.mark.filterwarnings("ignore:TileMatrixLimits")
130130
@pytest.mark.network
131131
@pytest.mark.skipif(not _OWSLIB_AVAILABLE, reason='OWSLib is unavailable.')
132-
@pytest.mark.xfail(reason='NASA servers are returning bad content metadata')
133132
class TestWMTSRasterSource:
134133
URI = 'https://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi'
135134
layer_name = 'VIIRS_CityLights_2012'

lib/cartopy/tests/mpl/test_caching.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ def test_contourf_transform_path_counting():
150150
@pytest.mark.filterwarnings("ignore:TileMatrixLimits")
151151
@pytest.mark.network
152152
@pytest.mark.skipif(not _OWSLIB_AVAILABLE, reason='OWSLib is unavailable.')
153-
@pytest.mark.xfail(reason='NASA servers are returning bad content metadata')
154153
def test_wmts_tile_caching():
155154
image_cache = WMTSRasterSource._shared_image_cache
156155
image_cache.clear()

lib/cartopy/tests/mpl/test_web_services.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
@pytest.mark.network
1616
@pytest.mark.skipif(not _OWSLIB_AVAILABLE, reason='OWSLib is unavailable.')
1717
@pytest.mark.mpl_image_compare(filename='wmts.png', tolerance=0.03)
18-
@pytest.mark.xfail(reason='NASA servers are returning bad content metadata')
1918
def test_wmts():
2019
ax = plt.axes(projection=ccrs.PlateCarree())
2120
url = 'https://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi'

0 commit comments

Comments
 (0)