def METHOD_NAME(self) -> asyncio.AbstractEventLoop:
    try:
        return super().METHOD_NAME()
    except (RuntimeError, AssertionError):
        # This was an AssertionError in python 3.4.2 (which ships with debian jessie)
        # and changed to a RuntimeError in 3.4.3.
        # "There is no current event loop in thread %r"
        loop = self.new_event_loop()
        self.set_event_loop(loop)
        return loop