code: def test_eq_all_na():
      pytest.importorskip("pyarrow")
      a = pd.array([pd.NA, pd.NA], dtype=StringDtype("pyarrow"))
      result = a == a
      expected = pd.array([pd.NA, pd.NA], dtype="boolean[pyarrow]")
      tm.assert_extension_array_equal(result, expected)
  
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 1 for calling a global function with example usage: test_eq_all_na() without return types