code: def test_exception(self, device, dtype):
      tensor = torch.rand(4, device=device, dtype=dtype)
      with pytest.raises(Exception):
          integral_image(tensor)
  
file_path: kornia/test/enhance/test_integral.py
imports: import pytest
  import torch
  from kornia.enhance.integral import IntegralImage, IntegralTensor, integral_image, integral_tensor
  from kornia.testing import BaseTester
label_desc: Use image node_id 3 for calling the TestIntegralImage obj's underlying member method code with example usage: obj.test_exception(device, dtype) without return types