def setName( self, name ):
        self.name = name
        self.errmsg = "Expected " + self.name
        if hasattr(self,"exception"):
            self.exception.msg = self.errmsg
        return self
Creates a screenshot comment and returns the payload response.
dataset/ETHPy150Open pypa/pip/pip/_vendor/pyparsing.py/ParserElement.setName--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/base.py/BaseWebAPITestCase._postNewScreenshotComment