code: def test_exception(self):
      with pytest.raises(Exception) as errinfo:
          inpt = torch.rand(1, 3, 3)
          edge_aware_blur_pool2d(inpt, 3)
      assert "shape must be [['B', 'C', 'H', 'W']]" in str(errinfo)
      with pytest.raises(Exception) as errinfo:
          inpt = torch.rand(1, 1, 3, 3)
          edge_aware_blur_pool2d(inpt, 3, edge_threshold=-1)
      assert "edge threshold should be positive, but got" in str(
          errinfo
      )
  
imports: import pytest
  import torch
  from kornia.filters import BlurPool2D, EdgeAwareBlurPool2D, MaxBlurPool2D, blur_pool2d, edge_aware_blur_pool2d, max_blur_pool2d
  from kornia.testing import BaseTester, tensor_to_gradcheck_var
label_desc: Use image node_id 3 for calling the TestEdgeAwareBlurPool obj's underlying member method code with example usage: obj.test_exception() without return types