code: def test_exception(self):
      inpt = torch.rand(1, 1, 3, 3)
      with pytest.raises(Exception) as errinfo:
          BlurPool2D((3, 5))(inpt)
      assert "Invalid kernel shape. Expect CxC_(out, None)xNxN" 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 TestBlurPool obj's underlying member method code with example usage: obj.test_exception() without return types