Format warning record like `FutureWarning('Function will be deprecated...')`
(record)
| 308 | |
| 309 | |
| 310 | def format_record(record) -> str: |
| 311 | """Format warning record like `FutureWarning('Function will be deprecated...')`""" |
| 312 | return f"{str(record.category)[8:-2]}('{record.message}'))" |
| 313 | |
| 314 | |
| 315 | @contextmanager |
no outgoing calls
no test coverage detected
searching dependent graphs…