code: def test_find_binning_thresholds_low_n_bins():
      bin_thresholds = [
          _find_binning_thresholds(DATA[:, i], max_bins=128)
          for i in range(2)
      ]
      for i in range(len(bin_thresholds)):
          assert bin_thresholds[i].shape == (127,)  # 128 - 1
          assert bin_thresholds[i].dtype == DATA.dtype
  
imports: import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_array_equal
  from sklearn.ensemble._hist_gradient_boosting.binning import _BinMapper, _find_binning_thresholds, _map_to_bins
  from sklearn.ensemble._hist_gradient_boosting.common import ALMOST_INF, X_BINNED_DTYPE, X_DTYPE
  from sklearn.utils._openmp_helpers import _openmp_effective_n_threads
label_desc: Use image node_id 4 for calling a global function with example usage: test_find_binning_thresholds_low_n_bins() without return types