def unregisterProducer(self):
        """
        Forget the producer we had previously registered.
        """
        self.producer = None
        self.producerStreaming = None

        Forget the producer we had previously registered.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/test/test_testing.py