(self, fn)
| 308 | self.stats.append(TestResult(self, fn, total_time=total)) |
| 309 | |
| 310 | def _run_test(self, fn): |
| 311 | if self._setup: |
| 312 | self._setup(self.dburl, self.echo, self.num) |
| 313 | if self.gc: |
| 314 | # gc.set_debug(gc.DEBUG_COLLECTABLE) |
| 315 | gc.set_debug(gc.DEBUG_STATS) |
| 316 | if self.profile or self.dump: |
| 317 | self._run_with_profile(fn, self.sort) |
| 318 | else: |
| 319 | self._run_with_time(fn) |
| 320 | if self.gc: |
| 321 | gc.set_debug(0) |
| 322 | |
| 323 | @classmethod |
| 324 | def main(cls): |
no test coverage detected