code: def test_rectangle_not_enough_points():
      pointa = [3.0, 1.0, 1.0]
      pointb = [4.0, 3.0, 1.0]
  
      with pytest.raises(
          TypeError,
          match="Points must be given as length 3 np.ndarray or list",
      ):
          pv.Rectangle([pointa, pointb])
  
imports: from itertools import permutations
  import re
  import numpy
  import pytest
  import pyvista
label_desc: Use image node_id 44 for calling a global function with example usage: test_rectangle_not_enough_points() without return types