def test_type(self):
        rset = event.ResultSet()
        with pytest.raises(NotImplementedError):
            rset.extend([])
        with pytest.raises(NotImplementedError):
            rset.extend(False)
def emit(self, record):
        msg = self.format(record)
        self._queue.put_nowait(msg)