docstr: EmitterGroup.block_all
docstr_tok: ["EmitterGroup.block_all"]
code: def test_group_ignore(self):
      """EmitterGroup.block_all"""
      grp = EmitterGroup(em1=Event)
      grp.em1.connect(self.error_event)
      with use_log_level(
          "warning", record=True, print_msg=False
      ) as emit_list:
          grp.em1()
      assert_true(len(emit_list) >= 1)
      grp.ignore_callback_errors = False
      assert_raises(RuntimeError, grp.em1)
      grp.ignore_callback_errors = True
      with use_log_level(
          "warning", record=True, print_msg=False
      ) as emit_list:
          grp.em1()
      assert_true(len(emit_list) >= 1)
  
imports: import unittest
  import copy
  from vispy.util.event import Event, EventEmitter, EmitterGroup
  from vispy.util import use_log_level
  from vispy.testing import run_tests_if_main, assert_true, assert_raises
label_desc: Use image node_id 4 for calling the TestGroups obj's underlying member method code with example usage: obj.test_group_ignore() without return types