(self)
| 334 | return self.backchannel |
| 335 | |
| 336 | def _init_log_dir(self): |
| 337 | if self.log_dir is None: |
| 338 | return False |
| 339 | |
| 340 | log.info("Logs for {0} will be in {1}", self, json.repr(self.log_dir)) |
| 341 | try: |
| 342 | self.log_dir.remove() |
| 343 | except Exception: |
| 344 | pass |
| 345 | self.log_dir.ensure(dir=True) |
| 346 | |
| 347 | # Make subsequent calls of this method no-op for the remainder of the session. |
| 348 | self._init_log_dir = lambda: True |
| 349 | return True |
| 350 | |
| 351 | def _make_env(self, base_env, codecov=True): |
| 352 | env = util.Env.snapshot() |