code: def test_missing_all_array(dates):
      """Raise if none of the labels exist."""
      with pytest.raises(KeyError):
          arr = pd.array(["2011"])
          dates.select_rows(arr)
  
imports: import datetime
  import re
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 35 for calling a global function with example usage: test_missing_all_array(dates) without return types