diff --git a/holoviews/tests/plotting/bokeh/test_elementplot.py b/holoviews/tests/plotting/bokeh/test_elementplot.py index 5314a33270..efb434f605 100644 --- a/holoviews/tests/plotting/bokeh/test_elementplot.py +++ b/holoviews/tests/plotting/bokeh/test_elementplot.py @@ -831,13 +831,6 @@ def test_dim_unit(self): assert scalebar.visible assert scalebar.unit == "cm" - def test_scalebar_wrong_unit(self): - curve = Curve([1, 2, 3]).opts(scalebar=True, scalebar_unit='xx') - - msg = "Only the following units are supported" - with pytest.raises(ValueError, match=msg): - self.get_scalebar(curve) - def test_scalebar_custom_opts(self): curve = Curve([1, 2, 3]).opts(scalebar=True, scalebar_opts={'background_fill_alpha': 1}) scalebar = self.get_scalebar(curve)