code: def test_filter_batched_data(self):
      data = {"line_color": ["red", "red", "red"]}
      mapping = {"line_color": "line_color"}
      filter_batched_data(data, mapping)
      self.assertEqual(data, {})
      self.assertEqual(mapping, {"line_color": "red"})
  
file_path: holoviews/holoviews/tests/plotting/bokeh/test_utils.py
imports: import pytest
  import holoviews
  from holoviews.core import Store
  from holoviews.element.comparison import ComparisonTestCase
  from holoviews.plotting.bokeh.styles import expand_batched_style
  from holoviews.plotting.bokeh.util import filter_batched_data, glyph_order, select_legends
label_desc: Use image node_id 6 for calling the TestBokehUtilsInstantiation obj's underlying member method code with example usage: obj.test_filter_batched_data() without return types