def test_resumeProducing(self, reactor, server):
        """
        When a L{Server} is connected, its C{resumeProducing} method adds it as
        a reader to the reactor.
        """
        server.pauseProducing()
        assertNotReading(self, reactor, server)
        server.resumeProducing()
        assertReading(self, reactor, server)

        When a L{Server} is connected, its C{resumeProducing} method adds it as
        a reader to the reactor.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/test/test_tcp.py