code: def test_qcut_all_bins_same():
      with pytest.raises(ValueError, match="edges.*unique"):
          qcut([0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 3)
  
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 4 for calling a global function with example usage: test_qcut_all_bins_same() without return types