def _resumed(self):
        """
        @return: A new L{StrictPushProducer} which has been paused and resumed.
        """
        producer = StrictPushProducer()
        producer.pauseProducing()
        producer.resumeProducing()
        return producer

        @return: A new L{StrictPushProducer} which has been paused and resumed.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_iosim.py