code: def test_point_size(self, p1, p2, dtype, device):
      img = torch.zeros(1, 8, 8, dtype=dtype, device=device)
      with pytest.raises(ValueError) as excinfo:
          draw_line(img, p1, p2, torch.tensor([255]))
  
      assert (
          "Input points must be 2D points with shape (2, ) or (B, 2) and must have the same batch sizes."
          == str(excinfo.value)
      )
  
imports: import math
  import pytest
  import torch
  from kornia.testing import assert_close
  from kornia.utils import create_meshgrid, draw_convex_polygon, draw_rectangle
  from kornia.utils.draw import draw_line, draw_point2d
label_desc: Use image node_id 13 for calling the TestDrawLine obj's underlying member method code with example usage: obj.test_point_size(p1, p2, dtype, device) without return types