code: def test_cut_no_warnings():
      df = DataFrame(
          {"value": np.random.default_rng(2).integers(0, 100, 20)}
      )
      labels = [f"{i} - {i + 9}" for i in range(0, 100, 10)]
      with tm.assert_produces_warning(False):
          df["group"] = cut(
              df.value, range(0, 105, 10), right=False, labels=labels
          )
  
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 45 for calling a global function with example usage: test_cut_no_warnings() without return types