(self, lines, fp)
| 1471 | return RunResult(ret, out, err, instant.elapsed().seconds) |
| 1472 | |
| 1473 | def _dump_lines(self, lines, fp): |
| 1474 | try: |
| 1475 | for line in lines: |
| 1476 | print(line, file=fp) |
| 1477 | except UnicodeEncodeError: |
| 1478 | print(f"couldn't print to {fp} because of encoding") |
| 1479 | |
| 1480 | def _getpytestargs(self) -> tuple[str, ...]: |
| 1481 | return sys.executable, "-mpytest" |