def getClientIP(self):
        """
        As L{getClientIP} is deprecated, no log formatter should call it.
        """
        raise NotImplementedError('Call to deprecated getClientIP method'
                                  ' (use getClientAddress instead)')

        As L{getClientIP} is deprecated, no log formatter should call it.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_web.py