Initialize logging in case it was requested at the command line.
(self)
| 844 | logmode='rotate') |
| 845 | |
| 846 | def init_logstart(self) -> None: |
| 847 | """Initialize logging in case it was requested at the command line. |
| 848 | """ |
| 849 | if self.logappend: |
| 850 | self.run_line_magic("logstart", f"{self.logappend} append") |
| 851 | elif self.logfile: |
| 852 | self.run_line_magic("logstart", self.logfile) |
| 853 | elif self.logstart: |
| 854 | self.run_line_magic("logstart", "") |
| 855 | |
| 856 | def init_builtins(self): |
| 857 | # A single, static flag that we set to True. Its presence indicates |
no test coverage detected