def query(self, address, queries, timeout=10, id=None):
        """
        Record the given arguments and return a Deferred which will not be
        called back by this code.
        """
        result = defer.Deferred()
        self.queries.append((address, queries, timeout, id, result))
        return result

        Record the given arguments and return a Deferred which will not be
        called back by this code.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/test/test_client.py