XML report fails if output file directory does not exist. · Issue #285 · nedbat/coveragepy (original) (raw)
Originally reported by Chris (Bitbucket: offbyone, GitHub: offbyone)
The HTML reporter creates its directory tree as needed, and the XML report should do the same. It currently fails because outfile is opened in control.py instead of allowing the reporter to create it in report_files as it does for the HTMLReportoer.