diff --git a/tests/test_datashader.py b/tests/test_datashader.py index 900c8be4..b8aca424 100644 --- a/tests/test_datashader.py +++ b/tests/test_datashader.py @@ -2,15 +2,16 @@ from common import p100_exempt -@p100_exempt class TestDatashader(unittest.TestCase): - # based on https://github.com/pyviz/datashader/blob/master/datashader/tests/test_pipeline.py - import numpy as np - import pandas as pd - import datashader as ds - import datashader.transfer_functions as tf + @p100_exempt def test_pipeline(self): + # based on https://github.com/pyviz/datashader/blob/master/datashader/tests/test_pipeline.py + import numpy as np + import pandas as pd + import datashader as ds + import datashader.transfer_functions as tf + df = pd.DataFrame({ 'x': np.array(([0.] * 10 + [1] * 10)), 'y': np.array(([0.] * 5 + [1] * 5 + [0] * 5 + [1] * 5)), diff --git a/tests/test_geoviews.py b/tests/test_geoviews.py index 422fe8de..b3fff6b7 100644 --- a/tests/test_geoviews.py +++ b/tests/test_geoviews.py @@ -2,13 +2,14 @@ from common import p100_exempt -@p100_exempt class TestGeoviews(unittest.TestCase): - import geoviews.feature as gf - import holoviews as hv - from cartopy import crs + @p100_exempt def test_viz(self): + import geoviews.feature as gf + import holoviews as hv + from cartopy import crs + hv.extension('matplotlib') (gf.ocean + gf.land + gf.ocean * gf.land * gf.coastline * gf.borders).options( 'Feature', projection=crs.Geostationary(), global_extent=True