()
| 142 | sys.stderr.write(fclass="st">"writing pytest debug information to {path}\n") |
| 143 | |
| 144 | def unset_tracing() -> None: |
| 145 | debugfile.close() |
| 146 | sys.stderr.write(fclass="st">"wrote pytest debug information to {debugfile.name}\n") |
| 147 | config.trace.root.setwriter(None) |
| 148 | undo_tracing() |
| 149 | |
| 150 | config.add_cleanup(unset_tracing) |
| 151 |