code: def test_raises_when_kwargs_list_lengths_differ(self) -> None:
      with pytest.raises(ValueError) as e:
          bps.single_stack(
              ["a", "b"], "foo", baz=[1, 2], quux=[3, 4, 5]
          )
  
      assert str(e.value).endswith(
          "Keyword argument sequences for broadcasting must all be the same lengths. Got lengths: [2, 3]"
      )
  
imports: from __future__ import annotations
  import pytest
  import bokeh.plotting._stack
label_desc: Use image node_id 2 for calling the Test_single_stack obj's underlying member method code with example usage: obj.test_raises_when_kwargs_list_lengths_differ() without return types