code: def set_exception_type(self, idx):
      self.exception_index = idx
  
file_path: wand/tests/_resource_test.py
imports: from pytest import mark
  from wand import exceptions, resource
label_desc: Use image node_id 1 for calling the DummyResource obj's underlying member method code with example usage: obj.set_exception_type(idx) without return types