code: def test_qcut_specify_quantiles():
      arr = np.random.default_rng(2).standard_normal(100)
      factor = qcut(arr, [0, 0.25, 0.5, 0.75, 1.0])
  
      expected = qcut(arr, 4)
      tm.assert_categorical_equal(factor, expected)
  
imports: import os
  import numpy
  import pytest
  import pandas
  from pandas import Categorical, DatetimeIndex, Interval, IntervalIndex, NaT, Series, Timedelta, TimedeltaIndex, Timestamp, cut, date_range, isna, qcut, timedelta_range
  import pandas._testing
  from pandas.api.types import CategoricalDtype
  from pandas.tseries.offsets import Day
label_desc: Use image node_id 3 for calling a global function with example usage: test_qcut_specify_quantiles() without return types