code: def test_cut_unordered_labels(
      data, bins, labels, expected_codes, expected_labels
  ):
      # GH 33141
      result = cut(data, bins=bins, labels=labels, ordered=False)
      expected = Categorical.from_codes(
          expected_codes, categories=expected_labels, ordered=False
      )
      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 42 for calling a global function with example usage: test_cut_unordered_labels(data, bins, labels, expected_codes, expected_labels) without return types