code: def test_exception(self, device, dtype):
      pt1 = torch.tensor([0, 0, 0], device=device, dtype=dtype)
      pt2 = torch.rand(1, 2, device=device, dtype=dtype)
      with pytest.raises(Exception):
          kgl.euclidean_distance(pt1, pt2)
  
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  import kornia.geometry.linalg
  import kornia.testing
  from kornia.testing import BaseTester, assert_close
label_desc: Use image node_id 3 for calling the TestEuclideanDistance obj's underlying member method code with example usage: obj.test_exception(device, dtype) without return types