code: def test_gh14332(self):
      # Test the wrong output when the `sample` is close to bin edge
      x = []
      size = 20
      for i in range(size):
          x += [1 - 0.1**i]
  
      bins = np.linspace(0, 1, 11)
      sum1, edges1, bc = binned_statistic_dd(
          x, np.ones(len(x)), bins=[bins], statistic="sum"
      )
      sum2, edges2 = np.histogram(x, bins=bins)
  
      assert_allclose(sum1, sum2)
      assert_allclose(edges1[0], edges2)
  
imports: import numpy
  from numpy.testing import assert_allclose
  import pytest
  from pytest import raises
  from scipy.stats import binned_statistic, binned_statistic_2d, binned_statistic_dd
  from scipy._lib._util import check_random_state
  from .common_tests import check_named_results
label_desc: Use image node_id 44 for calling the TestBinnedStatistic obj's underlying member method code with example usage: obj.test_gh14332() without return types