(self)
| 89 | self.avg = self.sum / self.count |
| 90 | |
| 91 | def __str__(self): |
| 92 | if self.name == "Lr": |
| 93 | fmtstr = "{name}={val" + self.fmt + "}" |
| 94 | else: |
| 95 | fmtstr = "{name}={val" + self.fmt + "} ({avg" + self.fmt + "})" |
| 96 | return fmtstr.format(**self.__dict__) |
| 97 | |
| 98 | |
| 99 | class ProgressMeter(object): |
nothing calls this directly
no outgoing calls
no test coverage detected