docstr: Emitter constructed with type argument
docstr_tok: ["Emitter","constructed","with","type","argument"]
code: def test_emitter_type(self):
      """Emitter constructed with type argument"""
      em = EventEmitter(type="asdf")
      ev = self.try_emitter(em)
      self.assert_result(
          event=ev,
          event_class=Event,
          source=None,
          type="asdf",
          sources=[None],
      )
  
      # overriding type is ok:
      ev = self.try_emitter(em, type="qwer")
      self.assert_result(
          event=ev,
          event_class=Event,
          source=None,
          type="qwer",
          sources=[None],
      )
  
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 3 for calling the TestEmitters obj's underlying member method code with example usage: obj.test_emitter_type() without return types