code: def test_tube():
      pointa = (0, 0, 0)
      pointb = (10, 1.0, 3)
  
      tube = pv.Tube(n_sides=3)
      assert tube.n_points == 6
      assert tube.n_cells == 3
      tube = pv.Tube(pointa, pointb, 10)
      assert tube.n_points == 165
      assert tube.n_cells == 15
  
      with pytest.raises(ValueError):
          pv.Tube(pointa, pointb, -1)
  
      with pytest.raises(TypeError):
          pv.Tube(pointa, pointb, 0.1)  # from vtk
  
      with pytest.raises(TypeError):
          pv.Tube((0, 0), pointb)
  
      with pytest.raises(TypeError):
          pv.Tube(pointa, (10, 1.0))
  
imports: from itertools import permutations
  import re
  import numpy
  import pytest
  import pyvista
label_desc: Use image node_id 27 for calling a global function with example usage: test_tube() without return types