code: def test_logsumexp():
      # make sure logsumexp can be imported from either scipy.misc or
      # scipy.special
      with suppress_warnings() as sup:
          sup.filter(DeprecationWarning, "`logsumexp` is deprecated")
          assert_allclose(
              logsumexp([0, 1]), sc_logsumexp([0, 1]), atol=1e-16
          )
  
file_path: catboost/contrib/python/scipy/py2/scipy/misc/tests/test_common.py
imports: from __future__ import division, print_function, absolute_import
  import pytest
  from numpy.testing import assert_equal, assert_allclose, assert_almost_equal
  from scipy._lib._numpy_compat import suppress_warnings
  from scipy.misc import pade, logsumexp, face, ascent, electrocardiogram
  from scipy.special import logsumexp
label_desc: Use image node_id 1 for calling a global function with example usage: test_logsumexp() without return types