code: def test_cut_with_timestamp_tuple_labels():
      # GH 40661
      labels = [(Timestamp(10),), (Timestamp(20),), (Timestamp(30),)]
      result = cut([2, 4, 6], bins=[1, 3, 5, 7], labels=labels)
  
      expected = Categorical.from_codes([0, 1, 2], labels, ordered=True)
      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 48 for calling a global function with example usage: test_cut_with_timestamp_tuple_labels() without return types