code: def test_frame_getitem_nan_cols_multiindex(
      indexer,
      expected,
      nulls_fixture,
  ):
      # Slicing MultiIndex including levels with nan values, for more information
      # see GH#25154
      df = DataFrame(
          [[1, 2, 3], [4, 5, 6]],
          columns=MultiIndex.from_tuples(
              [("a", "foo"), ("b", "bar"), ("b", nulls_fixture)]
          ),
          dtype="int64",
      )
  
      result = df.loc[:, indexer]
      tm.assert_equal(result, expected)
  
imports: import numpy
  import pytest
  from pandas import DataFrame, Index, MultiIndex, Series
  import pandas._testing
  from pandas.core.indexing import IndexingError
label_desc: Use image node_id 14 for calling a global function with example usage: test_frame_getitem_nan_cols_multiindex(indexer, expected, nulls_fixture) without return types