diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2009-09-25 21:47:36 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-09-25 21:47:36 -0400 |
| commit | 17e6ca309e07186eed46242b1903a84c9bc5e167 (patch) | |
| tree | 8a4df6d5f8e28429baad275cc0058f3d1654e5ba /test/farm | |
| parent | bc6d5e8768017eb474d00af2828895f5199c05c6 (diff) | |
| download | python-coveragepy-git-17e6ca309e07186eed46242b1903a84c9bc5e167.tar.gz | |
XML command writes to coverage.xml, and takes a -o argument to write it somewhere else.
Diffstat (limited to 'test/farm')
| -rw-r--r-- | test/farm/html/run_x_xml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/farm/html/run_x_xml.py b/test/farm/html/run_x_xml.py index c1dbb163..b3682940 100644 --- a/test/farm/html/run_x_xml.py +++ b/test/farm/html/run_x_xml.py @@ -5,7 +5,7 @@ def html_it(): cov.start() import x cov.stop() - cov.xml_report(x, outfile=open("../xml/coverage.xml", 'w')) + cov.xml_report(x, outfile="../xml/coverage.xml") import os if not os.path.exists("xml"): |
