def METHOD_NAME(self):
    def get_and_close_event_loop():
        """Get the event loop. Close it if one is returned.
        Returns the (closed) event loop. This is a silly thing
        to do and leaves the thread in a broken state, but it's
        enough for this test. Closing the loop avoids resource
        leak warnings.
        """
        loop = asyncio.get_event_loop()
        loop.close()
        return loop
    future = self.executor.submit(get_and_close_event_loop)
    return future.result()