code: def test_exception(self):
      with pytest.raises(Exception) as errinfo:
          bilateral_blur(torch.rand(1, 1, 5, 5), 3, 1, 1)
      assert "Not a Tensor type. Go" in str(errinfo)
  
      with pytest.raises(ValueError) as errinfo:
          bilateral_blur(
              torch.rand(1, 1, 5, 5),
              3,
              0.1,
              (1, 1),
              color_distance_type="l3",
          )
      assert "color_distance_type only acceps l1 or l2" in str(errinfo)
  
imports: import pytest
  import torch
  from kornia.filters import BilateralBlur, JointBilateralBlur, bilateral_blur, joint_bilateral_blur
  from kornia.testing import BaseTester, tensor_to_gradcheck_var
label_desc: Use image node_id 3 for calling the TestBilateralBlur obj's underlying member method code with example usage: obj.test_exception() without return types