code: def test_errcall(self):
      def foo(*args):
          print(args)
  
      olderrcall = np.geterrcall()
      with np.errstate(call=foo):
          assert_(np.geterrcall() is foo, "call is not foo")
          with np.errstate(call=None):
              assert_(np.geterrcall() is None, "call is not None")
      assert_(np.geterrcall() is olderrcall, "call is not olderrcall")
  
file_path: catboost/contrib/python/numpy/py3/numpy/core/tests/test_errstate.py
imports: import pytest
  import sysconfig
  import numpy
  from numpy.testing import assert_, assert_raises, IS_WASM
label_desc: Use image node_id 3 for calling the TestErrstate obj's underlying member method code with example usage: obj.test_errcall() without return types