code: def test_errstate(self):
      orig = cupyx.geterr()
      with cupyx.errstate(divide=self.divide):
          state = cupyx.geterr()
          assert state.pop("divide") == self.divide
          orig.pop("divide")
          assert state == orig
  
imports: import unittest
  import cupyx
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestErrState obj's underlying member method code with example usage: obj.test_errstate() without return types