code: def test_exception(self):
      inp = torch.rand(1, 1, 5, 5)
      guide = torch.rand(1, 1, 5, 5)
  
      with pytest.raises(Exception) as errinfo:
          joint_bilateral_blur(inp, guide, 3, 1, 1)
      assert "Not a Tensor type. Go" in str(errinfo)
  
      with pytest.raises(Exception) as errinfo:
          joint_bilateral_blur(
              inp, torch.randn(1, 1, 2, 4), 3, 1, (1, 1)
          )
      assert "guidance and input should have the same" in str(errinfo)
  
      with pytest.raises(Exception) as errinfo:
          joint_bilateral_blur(
              inp, torch.randn(2, 1, 5, 5), 3, 1, (1, 1)
          )
      assert "guidance and input should have the same" in str(errinfo)
  
      with pytest.raises(ValueError) as errinfo:
          joint_bilateral_blur(
              inp, guide, 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 4 for calling the TestJointBilateralBlur obj's underlying member method code with example usage: obj.test_exception() without return types