code: def test_arrow_raises_error():
      with pytest.raises(TypeError):
          pv.Arrow([0, 0, 0], [1, 1, 1], scale="badarg")
  
imports: from itertools import permutations
  import re
  import numpy
  import pytest
  import pyvista
label_desc: Use image node_id 4 for calling a global function with example usage: test_arrow_raises_error() without return types