Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt committed Jan 21, 2025
1 parent 9ad76d4 commit 51440c8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions hvplot/tests/testpatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import numpy as np
import pandas as pd
import pytest

from hvplot.plotting import hvPlotTabular, hvPlot

Expand Down Expand Up @@ -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:
Expand All @@ -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

Expand Down

0 comments on commit 51440c8

Please sign in to comment.