code: def test_line():
      pointa = (0, 0, 0)
      pointb = (10, 1.0, 3)
  
      line = pv.Line(pointa, pointb)
      assert line.n_points == 2
      assert line.n_cells == 1
      line = pv.Line(pointa, pointb, 10)
      assert line.n_points == 11
      assert line.n_cells == 1
  
      with pytest.raises(ValueError):
          pv.Line(pointa, pointb, -1)
  
      with pytest.raises(TypeError):
          pv.Line(pointa, pointb, 0.1)  # from vtk
  
      with pytest.raises(TypeError):
          pv.Line((0, 0), pointb)
  
      with pytest.raises(TypeError):
          pv.Line(pointa, (10, 1.0))
  
imports: from itertools import permutations
  import re
  import numpy
  import pytest
  import pyvista
label_desc: Use image node_id 25 for calling a global function with example usage: test_line() without return types