code: def __init__(self):
      self.context = gloo.GLContext()
      gloo.context.set_current_canvas(self)
  
file_path: vispy/vispy/app/backends/tests/test_offscreen_util.py
imports: from vispy.app.backends._offscreen_util import OffscreenContext, FrameBufferHelper
  from vispy.testing import run_tests_if_main, requires_application
  from vispy import gloo
  import numpy
label_desc: Use image node_id 1 to create a new FakeCanvas object from inherited base classes: object with example: obj = FakeCanvas()