code: def __init__(self):
      self.context = gloo.context.GLContext()
      self.context.shared.parser = DummyParser()
      self.context.glir.flush = lambda *args: None
  
imports: import unittest
  import numpy
  from vispy import gloo, app
  from vispy.gloo.program import Program
  from vispy.testing import run_tests_if_main, requires_application
  from vispy.gloo.context import set_current_canvas, forget_canvas
label_desc: Use image node_id 1 to create a new DummyCanvas object  with example: obj = DummyCanvas()