code: def test_fancyarrow_shape_error():
      with pytest.raises(ValueError, match="Got unknown shape: 'foo'"):
          FancyArrow(0, 0, 0.2, 0.2, shape="foo")
  
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal
  import pytest
  import matplotlib
  from matplotlib.patches import Annulus, Ellipse, Patch, Polygon, Rectangle, FancyArrowPatch, FancyArrow, BoxStyle, Arc
  from matplotlib.testing.decorators import image_comparison, check_figures_equal
  from matplotlib.transforms import Bbox
  import matplotlib.pyplot
  from matplotlib import collections, colors, patches, path, transforms, rcParams
  import sys
label_desc: Use image node_id 31 for calling a global function with example usage: test_fancyarrow_shape_error() without return types