(self, record: logging.LogRecord)
| 342 | self.stream = StringIO() |
| 343 | |
| 344 | def handleError(self, record: logging.LogRecord) -> None: |
| 345 | if logging.raiseExceptions: |
| 346 | # Fail the test if the log message is bad (emit failed). |
| 347 | # The default behavior of logging is to print "Logging error" |
| 348 | # to stderr with the call stack and some extra details. |
| 349 | # pytest wants to make such mistakes visible during testing. |
| 350 | raise |
| 351 | |
| 352 | |
| 353 | @final |
nothing calls this directly
no outgoing calls
no test coverage detected