code: def test_cut_bool_coercion_to_int(bins, box, compare):
      # issue 20303
      data_expected = box([0, 1, 1, 0, 1] * 10)
      data_result = box([False, True, True, False, True] * 10)
      expected = cut(data_expected, bins, duplicates="drop")
      result = cut(data_result, bins, duplicates="drop")
      compare(result, expected)
  
imports: import numpy
  import pytest
  import pandas
  from pandas import Categorical, DataFrame, DatetimeIndex, Index, Interval, IntervalIndex, Series, TimedeltaIndex, Timestamp, cut, date_range, interval_range, isna, qcut, timedelta_range, to_datetime
  import pandas._testing
  from pandas.api.types import CategoricalDtype
  import pandas.core.reshape.tile
label_desc: Use image node_id 38 for calling a global function with example usage: test_cut_bool_coercion_to_int(bins, box, compare) without return types