(
type_name: str, report_class: type[BaseReport], reportdict
)
| 243 | |
| 244 | |
| 245 | def _report_unserialization_failure( |
| 246 | type_name: str, report_class: type[BaseReport], reportdict |
| 247 | ) -> NoReturn: |
| 248 | url = "https://github.com/pytest-dev/pytest/issues" |
| 249 | stream = StringIO() |
| 250 | pprint("-" * 100, stream=stream) |
| 251 | pprint(f"INTERNALERROR: Unknown entry type returned: {type_name}", stream=stream) |
| 252 | pprint(f"report_name: {report_class}", stream=stream) |
| 253 | pprint(reportdict, stream=stream) |
| 254 | pprint(f"Please report this bug at {url}", stream=stream) |
| 255 | pprint("-" * 100, stream=stream) |
| 256 | raise RuntimeError(stream.getvalue()) |
| 257 | |
| 258 | |
| 259 | def _format_failed_longrepr( |
no test coverage detected