code: def test_dd_result_attributes(self):
      X = self.X
      v = self.v
  
      res = binned_statistic_dd(X, v, "count", bins=3)
      attributes = ("statistic", "bin_edges", "binnumber")
      check_named_results(res, attributes)
  
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 30 for calling the TestBinnedStatistic obj's underlying member method code with example usage: obj.test_dd_result_attributes() without return types