summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-09-06 13:26:04 -0400
committerNed Batchelder <ned@nedbatchelder.com>2010-09-06 13:26:04 -0400
commita6621b2ceaf4d0b72456903749ca1f6247a972fc (patch)
tree200d4b2f305c00a646fe586fa67d6d839f096c1f /test
parentaa460b847382cca842f6b058ff82b2e65868233f (diff)
downloadpython-coveragepy-git-a6621b2ceaf4d0b72456903749ca1f6247a972fc.tar.gz
Format numbers with %g in xmlreport, since py3.2 uses more digits in str() than previous Pythons, throwing off the gold files. We didn't need 9 digits of precision anyway...
Diffstat (limited to 'test')
-rw-r--r--test/farm/html/gold_x_xml/coverage.xml6
-rw-r--r--test/farm/html/gold_y_xml_branch/coverage.xml4
2 files changed, 5 insertions, 5 deletions
diff --git a/test/farm/html/gold_x_xml/coverage.xml b/test/farm/html/gold_x_xml/coverage.xml
index c42e2c9f..d558f5d7 100644
--- a/test/farm/html/gold_x_xml/coverage.xml
+++ b/test/farm/html/gold_x_xml/coverage.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" ?>
<!DOCTYPE coverage
SYSTEM 'http://cobertura.sourceforge.net/xml/coverage-03.dtd'>
-<coverage branch-rate="0.0" line-rate="0.666666666667" timestamp="1253972570431" version="3.1b1">
+<coverage branch-rate="0" line-rate="0.6667" timestamp="1253972570431" version="3.1b1">
<!-- Generated by coverage.py: http://nedbatchelder.com/code/coverage/VER -->
<packages>
- <package branch-rate="0.0" complexity="0.0" line-rate="0.666666666667" name=".">
+ <package branch-rate="0" complexity="0" line-rate="0.6667" name=".">
<classes>
- <class branch-rate="0.0" complexity="0.0" filename="a.py" line-rate="0.666666666667" name="a">
+ <class branch-rate="0" complexity="0" filename="a.py" line-rate="0.6667" name="a">
<methods/>
<lines>
<line hits="1" number="3"/>
diff --git a/test/farm/html/gold_y_xml_branch/coverage.xml b/test/farm/html/gold_y_xml_branch/coverage.xml
index 34e02dc7..f7bf0b89 100644
--- a/test/farm/html/gold_y_xml_branch/coverage.xml
+++ b/test/farm/html/gold_y_xml_branch/coverage.xml
@@ -4,9 +4,9 @@
<coverage branch-rate="0.5" line-rate="0.8" timestamp="1259288252325" version="3.2b4">
<!-- Generated by coverage.py: http://nedbatchelder.com/code/coverage/VER -->
<packages>
- <package branch-rate="0.5" complexity="0.0" line-rate="0.8" name=".">
+ <package branch-rate="0.5" complexity="0" line-rate="0.8" name=".">
<classes>
- <class branch-rate="0.5" complexity="0.0" filename="y.py" line-rate="0.8" name="y">
+ <class branch-rate="0.5" complexity="0" filename="y.py" line-rate="0.8" name="y">
<methods/>
<lines>
<line hits="1" number="3"/>