docstr: Test that adjacent entries in an edge array can be equal 
docstr_tok: ["Test","that","adjacent","entries","in","an","edge","array","can","be","equal"]
code: def test_equal_edges(self):
      """Test that adjacent entries in an edge array can be equal"""
      x = np.array([0, 1, 2])
      y = np.array([0, 1, 2])
      x_edges = np.array([0, 2, 2])
      y_edges = 1
      hist, edges = histogramdd((x, y), bins=(x_edges, y_edges))
  
      hist_expected = np.array(
          [
              [2.0],
              [1.0],  # x == 2 falls in the final bin
          ]
      )
      assert_equal(hist, hist_expected)
  
imports: import numpy
  from numpy.lib.histograms import histogram, histogramdd, histogram_bin_edges
  from numpy.testing import assert_, assert_equal, assert_array_equal, assert_almost_equal, assert_array_almost_equal, assert_raises, assert_allclose, assert_array_max_ulp, assert_raises_regex, suppress_warnings
  from numpy.testing._private.utils import requires_memory
  import pytest
label_desc: Use image node_id 11 for calling the TestHistogramdd obj's underlying member method code with example usage: obj.test_equal_edges() without return types