class_docstr: A test environment decorator class.
  
  This class provides additional functionality used for testing:
    - Accumulating reward over multiple frames.
    - Accumulating events over multiple frames.
    - Collecting RGB observations and saving them to image files.
class_docstr_tok: ["A","test","environment","decorator","class",".","This","class","provides","additional","functionality","used","for","testing",":","-","Accumulating","reward","over","multiple","frames",".","-","Accumulating","events","over","multiple","frames",".","-","Collecting","RGB","observations","and","saving","them","to","image","files","."]
docstr: Return events accumulated since the reset call.
docstr_tok: ["Return","events","accumulated","since","the","reset","call","."]
code: def accumulated_events(self):
      """Return events accumulated since the reset call."""
      return self._events
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import numpy
  from PIL import Image
label_desc: Use image node_id 5 for calling the TestEnvironmentDecorator obj's underlying member method code with example usage: obj.accumulated_events() and returns: self