code: def test_readonly_path():
      path = Path.unit_circle()
  
      def modify_vertices():
          path.vertices = path.vertices * 2.0
  
      with pytest.raises(AttributeError):
          modify_vertices()
  
imports: import re
  import numpy
  from numpy.testing import assert_array_equal
  import pytest
  from matplotlib import patches
  from matplotlib.path import Path
  from matplotlib.patches import Polygon
  from matplotlib.testing.decorators import image_comparison
  import matplotlib.pyplot
  from matplotlib import transforms
  from matplotlib.backend_bases import MouseEvent
label_desc: Use image node_id 2 for calling a global function with example usage: test_readonly_path() without return types