code: def test_cut_nullable_integer(bins, right, include_lowest):
      a = (
          np.random.default_rng(2)
          .integers(0, 10, size=50)
          .astype(float)
      )
      a[::2] = np.nan
      result = cut(
          pd.array(a, dtype="Int64"),
          bins,
          right=right,
          include_lowest=include_lowest,
      )
      expected = cut(
          a, bins, right=right, include_lowest=include_lowest
      )
      tm.assert_categorical_equal(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 40 for calling a global function with example usage: test_cut_nullable_integer(bins, right, include_lowest) without return types