code: def test_overlap():
      a = np.arange(9, dtype=int).reshape(3, 3)
      b = np.arange(9, dtype=int).reshape(3, 3)
      d = np.dot(a, b)
      # sanity check
      c = np.einsum("ij,jk->ik", a, b)
      assert_equal(c, d)
      # gh-10080, out overlaps one of the operands
      c = np.einsum("ij,jk->ik", a, b, out=b)
      assert_equal(c, d)
  
imports: import itertools
  import sys
  import platform
  import pytest
  import numpy
  from numpy.testing import assert_, assert_equal, assert_array_equal, assert_almost_equal, assert_raises, suppress_warnings, assert_raises_regex, assert_allclose
label_desc: Use image node_id 1 for calling a global function with example usage: test_overlap() without return types