code: def test_tuple_not_found(multiindex):
      """Raise KeyError if passed tuple is not found in the index."""
      with pytest.raises(KeyError, match="No match was returned.+"):
          multiindex.select_rows(("one", "bar"))
  
imports: import datetime
  import re
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 10 for calling a global function with example usage: test_tuple_not_found(multiindex) without return types