code: def do_signed_overflow_bounds(self, dtype):
      exponent = 8 * np.dtype(dtype).itemsize - 1
      arr = np.array(
          [-(2**exponent) + 4, 2**exponent - 4], dtype=dtype
      )
      hist, e = histogram(arr, bins=2)
      assert_equal(e, [-(2**exponent) + 4, 0, 2**exponent - 4])
      assert_equal(hist, [1, 1])
  
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 25 for calling the TestHistogram obj's underlying member method code with example usage: obj.do_signed_overflow_bounds(dtype) without return types