docstr: EventEmitter.blocker
docstr_tok: ["EventEmitter.blocker"]
code: def test_emitter_block(self):
      """EventEmitter.blocker"""
      em = EventEmitter(type="test_event")
      em.connect(self.record_event)
      self.result = None
  
      with em.blocker():
          em()
      assert self.result is None
  
      ev = em()
      self.assert_result(event=ev)
  
imports: import unittest
  import copy
  import functools
  from vispy.util.event import Event, EventEmitter
  from vispy.testing import run_tests_if_main, assert_raises, assert_equal
label_desc: Use image node_id 19 for calling the TestEmitters obj's underlying member method code with example usage: obj.test_emitter_block() without return types