docstr: Test that if an edge array is input, its type is preserved 
docstr_tok: ["Test","that","if","an","edge","array","is","input",",","its","type","is","preserved"]
code: def test_edge_dtype(self):
      """Test that if an edge array is input, its type is preserved"""
      x = np.array([0, 10, 20])
      y = x / 10
      x_edges = np.array([0, 5, 15, 20])
      y_edges = x_edges / 10
      hist, edges = histogramdd((x, y), bins=(x_edges, y_edges))
  
      assert_equal(edges[0].dtype, x_edges.dtype)
      assert_equal(edges[1].dtype, y_edges.dtype)
  
imports: import numpy
  from numpy 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 12 for calling the TestHistogramdd obj's underlying member method code with example usage: obj.test_edge_dtype() without return types