code: def test_bars_hover_ensure_kdims_sanitized(self):
      obj = Bars(np.random.rand(10, 2), kdims=["Dim with spaces"])
      obj = obj.opts(tools=["hover"])
      self._test_hover_info(
          obj,
          [("Dim with spaces", "@{Dim_with_spaces}"), ("y", "@{y}")],
      )
  
imports: import numpy
  from bokeh.models import CategoricalColorMapper, LinearAxis, LinearColorMapper
  from holoviews.core.overlay import NdOverlay, Overlay
  from holoviews.element import Bars
  from holoviews.plotting.bokeh.util import property_to_dict
  from ..utils import ParamLogStream
  from .test_plot import TestBokehPlot, bokeh_renderer
label_desc: Use image node_id 1 for calling the TestBarPlot obj's underlying member method code with example usage: obj.test_bars_hover_ensure_kdims_sanitized() without return types