def __str__(self):
    args = ", ".join(["%s" % v for i, v in enumerate(self._params)])
    error = (self._instance, args) % "Unexpected mock creation: %s(%s"

    if self._named_params:
      error += ", " + ", ".join(["%s=%s" % (k, v) for k, v in
                                 self._named_params.iteritems()])

    error += ")"
    return error
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/mox/mox.py/UnexpectedMockCreationError.__str__/swapped operands of `%`