summaryrefslogtreecommitdiff
path: root/test/farm
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-09-25 21:47:36 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-09-25 21:47:36 -0400
commit185efb980902b5ab726ccfd3b411140e9b3d05fa (patch)
tree8cc5bc6f81d9524393379dc7ddc060dfb078a795 /test/farm
parent4ff8b33cc769658c756215ac92e5d737cb209e82 (diff)
downloadpython-coveragepy-185efb980902b5ab726ccfd3b411140e9b3d05fa.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.py2
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 c1dbb16..b368294 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"):