(self, sort=-1)
| 394 | |
| 395 | |
| 396 | def print_stats(self, sort=-1): |
| 397 | import pstats |
| 398 | if not isinstance(sort, tuple): |
| 399 | sort = (sort,) |
| 400 | pstats.Stats(self).strip_dirs().sort_stats(*sort).print_stats() |
| 401 | |
| 402 | def dump_stats(self, file): |
| 403 | with open(file, 'wb') as f: |
no test coverage detected