code: def test_expand_attribution_channel(params: dict, expected: Any):
      if "exception" in expected:
          with pytest.raises(expected["exception"]):
              out = expand_attribution_channel(**params)
          return
  
      out = expand_attribution_channel(**params)
      assert out.shape == expected["value"].shape
      assert (out == expected["value"]).any()
  
imports: import pytest
  from pytest_lazyfixture import lazy_fixture
  from quantus.helpers.utils import *
label_desc: Use image node_id 34 for calling a global function with example usage: test_expand_attribution_channel(params, expected) without return types