code: def test_property_anisotropy(prop):
      value = 0.1
      if pv.vtk_version_info < (9, 1, 0):
          with pytest.raises(pv.core.errors.VTKVersionError):
              prop.anisotropy = value
          return
  
      assert isinstance(prop.anisotropy, float)
      prop.anisotropy = value
      assert prop.anisotropy == value
  
imports: import pytest
  import pyvista
  from pyvista.plotting._property import _check_range
label_desc: Use image node_id 25 for calling a global function with example usage: test_property_anisotropy(prop) without return types