code: def test_select_callable_columns(dataframe, invert, expected):
      """Test that columns are returned when a callable is passed."""
  
      def columns(frame):
          return frame.columns.str.contains("[-,__]")
  
      df = dataframe.select_columns(columns, invert=invert)
  
      assert_frame_equal(df, dataframe[expected])
  
imports: import datetime
  import re
  from itertools import product
  import numpy
  import pandas
  import pytest
  from pandas.api.types import is_numeric_dtype
  from pandas.testing import assert_frame_equal
  from janitor.functions.utils import DropLabel, get_columns, patterns
label_desc: Use image node_id 7 for calling a global function with example usage: test_select_callable_columns(dataframe, invert, expected) and returns: frame