def test_type(self):
        rset = event.ResultSet()
        with pytest.raises(NotImplementedError):
            rset.extend([])
        with pytest.raises(NotImplementedError):
            rset.extend(False)
def clear(self):
    for unused_ in range(len(self._items)):
      self.remove_item(self._items[0])