def test_resumeProducing(self):
        """
        Resuming the endpoint transport resumes the underlying process
        transport.
        """
        self.test_pauseProducing()
        self.endpointTransport.resumeProducing()
        self.assertEqual(self.process.producerState, 'producing')

        Resuming the endpoint transport resumes the underlying process
        transport.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/test/test_endpoints.py