Skip to content

Commit

Permalink
Add version check for test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Sep 19, 2023
1 parent 3700ae2 commit 35a45b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hvplot/tests/testoperations.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ def test_datashade_rescale_discrete_levels_default_True(self):
assert actual is expected

def test_rasterize_by(self):
if Version(hv.__version__) < Version('1.18.0a1'):
raise SkipTest('hv.ImageStack introduced after 1.18.0a1')
expected = 'category'
plot = self.df.hvplot(x='x', y='y', by=expected, rasterize=True, dynamic=False)
assert isinstance(plot, ImageStack)
Expand Down

0 comments on commit 35a45b1

Please sign in to comment.