code: def test_seterr_geterr(self):
      default = _ufunc_config.geterr()
      assert default["fallback_mode"] == "ignore"
  
      old = _ufunc_config.seterr(fallback_mode="warn")
      current = _ufunc_config.geterr()
      assert old["fallback_mode"] == "ignore"
      assert current["fallback_mode"] == "warn"
      _ufunc_config.seterr(**old)
  
imports: import contextlib
  import io
  import numpy
  import pytest
  from cupy import testing
  from cupyx import fallback_mode
  from cupyx import _ufunc_config
  from cupyx_tests.fallback_mode_tests import test_fallback
label_desc: Use image node_id 1 for calling the TestNotifications obj's underlying member method code with example usage: obj.test_seterr_geterr() without return types