code: def test_pyarrow_not_installed_raises():
      msg = re.escape("pyarrow>=10.0.1 is required for PyArrow backed")
  
      with pytest.raises(ImportError, match=msg):
          StringDtype(storage="pyarrow")
  
      with pytest.raises(ImportError, match=msg):
          ArrowStringArray([])
  
      with pytest.raises(ImportError, match=msg):
          ArrowStringArrayNumpySemantics([])
  
      with pytest.raises(ImportError, match=msg):
          ArrowStringArray._from_sequence(["a", None, "b"])
  
imports: import pickle
  import re
  import numpy
  import pytest
  import pandas.util._test_decorators
  import pandas
  import pandas._testing
  from pandas.core.arrays.string_ import StringArray, StringDtype
  from pandas.core.arrays.string_arrow import ArrowStringArray, ArrowStringArrayNumpySemantics
label_desc: Use image node_id 9 for calling a global function with example usage: test_pyarrow_not_installed_raises() without return types