diff --git a/hvplot/tests/plotting/testcore.py b/hvplot/tests/plotting/testcore.py index dcadbabab..3e5986d54 100644 --- a/hvplot/tests/plotting/testcore.py +++ b/hvplot/tests/plotting/testcore.py @@ -1,6 +1,3 @@ -from packaging.version import Version -from unittest import SkipTest - import numpy as np import pandas as pd import hvplot.pandas # noqa @@ -96,13 +93,3 @@ def test_series_polars(kind): ser = pl.Series(values=np.random.rand(10), name='A') assert isinstance(ser, pl.Series) ser.hvplot(kind=kind) - - -@pytest.mark.skipif(skip_polar, reason='polars not installed') -@series_kinds -def test_series_polars_downstream(kind): - if Version(pl.__version__) < Version('0.20.3'): - raise SkipTest('plot namespace in Polars introduced in 0.20.3') - ser = pl.Series(values=np.random.rand(10), name='A') - assert isinstance(ser, pl.Series) - ser.plot(kind=kind) diff --git a/hvplot/tests/testplotting.py b/hvplot/tests/testplotting.py index 567257f41..e7c747e0b 100644 --- a/hvplot/tests/testplotting.py +++ b/hvplot/tests/testplotting.py @@ -4,15 +4,11 @@ from unittest import TestCase -import holoviews as hv import pandas as pd -import pytest from parameterized import parameterized from hvplot.converter import HoloViewsConverter -from hvplot.plotting import plot -from hvplot.tests.util import makeDataFrame no_args = ['line', 'area', 'hist', 'box', 'kde', 'density', 'bar', 'barh'] x_y = ['scatter', 'hexbin'] @@ -54,11 +50,3 @@ def test_pandas_dataframe_plot_does_not_implement_pie(self): class TestPandasHvplotPlotting(TestPandasHoloviewsPlotting): def setUp(self): pd.options.plotting.backend = 'hvplot' - - -def test_plot_supports_polars(): - pl = pytest.importorskip('polars') - dfp = pl.DataFrame(makeDataFrame()) - out = plot(dfp, 'line') - assert isinstance(out, hv.NdOverlay) - assert out.keys() == dfp.columns