code: def test_gh5927(self):
      # smoke test for gh5927 - binned_statistic was using `is` for string
      # comparison
      x = self.x
      v = self.v
      statistics = ["mean", "median", "count", "sum"]
      for statistic in statistics:
          binned_statistic(x, v, statistic, bins=10)
  
imports: import numpy
  from numpy.testing import assert_allclose
  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 3 for calling the TestBinnedStatistic obj's underlying member method code with example usage: obj.test_gh5927() without return types