diff --git a/hvplot/tests/testpatch.py b/hvplot/tests/testpatch.py index 1b3c700e6..2b54da02c 100644 --- a/hvplot/tests/testpatch.py +++ b/hvplot/tests/testpatch.py @@ -8,7 +8,6 @@ import numpy as np import pandas as pd -import pytest from hvplot.plotting import hvPlotTabular, hvPlot @@ -108,6 +107,8 @@ def test_streamz_seriess_patched(self): class TestPatchPolars(TestCase): def setUp(self): + if sys.platform == 'win32' and sys.version_info[:2] == (3, 9): + raise SkipTest('stack overflow error') try: import polars as pl # noqa except ImportError: @@ -120,10 +121,6 @@ def test_polars_series_patched(self): pseries = pl.Series([0, 1, 2]) self.assertIsInstance(pseries.hvplot, hvPlotTabular) - @pytest.mark.skipif( - sys.platform == 'win32' and sys.version[:2] == (3, 9), - reason='stack overflow error on the CI', - ) def test_polars_dataframe_patched(self): import polars as pl