summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-24 10:43:46 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-24 10:43:46 -0400
commitdc0d0c613de54cd5af74a1d3ac9d86235dc0aee9 (patch)
treef4c22b17e68b68212fcdd30cd30d56c5a0b0582e
parentd86dc0901812723ab470006430e0591d1dca99a3 (diff)
downloadpython-coveragepy-dc0d0c613de54cd5af74a1d3ac9d86235dc0aee9.tar.gz
Add license mention to the top of all files. #313.
-rw-r--r--CHANGES.txt6
-rw-r--r--MANIFEST.in3
-rw-r--r--Makefile3
-rw-r--r--README.txt3
-rw-r--r--__main__.py3
-rw-r--r--coverage/__init__.py3
-rw-r--r--coverage/__main__.py4
-rw-r--r--coverage/annotate.py5
-rw-r--r--coverage/backunittest.py3
-rw-r--r--coverage/backward.py3
-rw-r--r--coverage/bytecode.py3
-rw-r--r--coverage/cmdline.py3
-rw-r--r--coverage/collector.py5
-rw-r--r--coverage/config.py3
-rw-r--r--coverage/control.py5
-rw-r--r--coverage/data.py5
-rw-r--r--coverage/debug.py3
-rw-r--r--coverage/env.py3
-rw-r--r--coverage/execfile.py3
-rw-r--r--coverage/files.py3
-rw-r--r--coverage/fullcoverage/encodings.py3
-rw-r--r--coverage/html.py5
-rw-r--r--coverage/htmlfiles/coverage_html.js3
-rw-r--r--coverage/htmlfiles/index.html3
-rw-r--r--coverage/htmlfiles/pyfile.html3
-rw-r--r--coverage/htmlfiles/style.css5
-rw-r--r--coverage/misc.py5
-rw-r--r--coverage/monkey.py5
-rw-r--r--coverage/parser.py5
-rw-r--r--coverage/phystokens.py3
-rw-r--r--coverage/plugin.py3
-rw-r--r--coverage/plugin_support.py3
-rw-r--r--coverage/python.py3
-rw-r--r--coverage/pytracer.py5
-rw-r--r--coverage/report.py5
-rw-r--r--coverage/results.py3
-rw-r--r--coverage/summary.py3
-rw-r--r--coverage/templite.py3
-rw-r--r--coverage/test_helpers.py3
-rw-r--r--coverage/tracer.c5
-rw-r--r--coverage/version.py3
-rw-r--r--coverage/xmlreport.py3
-rw-r--r--doc/api.rst3
-rw-r--r--doc/branch.rst3
-rw-r--r--doc/changes.rst3
-rw-r--r--doc/cmd.rst3
-rw-r--r--doc/conf.py3
-rw-r--r--doc/config.rst3
-rw-r--r--doc/contributing.rst3
-rw-r--r--doc/excluding.rst3
-rw-r--r--doc/faq.rst3
-rw-r--r--doc/index.rst3
-rw-r--r--doc/install.rst3
-rw-r--r--doc/plugins.rst3
-rw-r--r--doc/source.rst3
-rw-r--r--doc/subprocess.rst3
-rw-r--r--doc/trouble.rst3
-rw-r--r--igor.py3
-rw-r--r--lab/branches.py3
-rw-r--r--lab/hack_pyc.py3
-rw-r--r--lab/lnotab.py122
-rw-r--r--lab/parser.py3
-rw-r--r--lab/run_trace.py3
-rw-r--r--lab/show_pyc.py3
-rw-r--r--metacov.ini3
-rw-r--r--pylintrc3
-rw-r--r--requirements.txt3
-rw-r--r--setup.py3
-rw-r--r--test_old.sh3
-rw-r--r--tests/backtest.py3
-rw-r--r--tests/coveragetest.py5
-rw-r--r--tests/covmodzip1.py3
-rw-r--r--tests/eggsrc/egg1/egg1.py3
-rw-r--r--tests/eggsrc/setup.py3
-rw-r--r--tests/farm/annotate/annotate_dir.py3
-rw-r--r--tests/farm/annotate/gold/white.py,cover3
-rw-r--r--tests/farm/annotate/gold_anno_dir/a_a.py,cover3
-rw-r--r--tests/farm/annotate/gold_anno_dir/b_b.py,cover3
-rw-r--r--tests/farm/annotate/gold_anno_dir/multi.py,cover3
-rw-r--r--tests/farm/annotate/gold_encodings/utf8.py,cover3
-rw-r--r--tests/farm/annotate/gold_multi/a/a.py,cover3
-rw-r--r--tests/farm/annotate/gold_multi/b/b.py,cover3
-rw-r--r--tests/farm/annotate/gold_multi/multi.py,cover3
-rw-r--r--tests/farm/annotate/gold_v24/white.py,cover3
-rw-r--r--tests/farm/annotate/run.py3
-rw-r--r--tests/farm/annotate/run_encodings.py3
-rw-r--r--tests/farm/annotate/run_multi.py3
-rw-r--r--tests/farm/annotate/src/a/a.py3
-rw-r--r--tests/farm/annotate/src/b/b.py3
-rw-r--r--tests/farm/annotate/src/multi.py3
-rw-r--r--tests/farm/annotate/src/utf8.py3
-rw-r--r--tests/farm/annotate/src/white.py3
-rw-r--r--tests/farm/html/gold_a/a_py.html38
-rw-r--r--tests/farm/html/gold_a/index.html8
-rw-r--r--tests/farm/html/gold_b_branch/b_py.html110
-rw-r--r--tests/farm/html/gold_isolatin1/index.html8
-rw-r--r--tests/farm/html/gold_isolatin1/isolatin1_py.html30
-rw-r--r--tests/farm/html/gold_omit_1/index.html14
-rw-r--r--tests/farm/html/gold_omit_1/m1_py.html24
-rw-r--r--tests/farm/html/gold_omit_1/m2_py.html24
-rw-r--r--tests/farm/html/gold_omit_1/m3_py.html24
-rw-r--r--tests/farm/html/gold_omit_1/main_py.html44
-rw-r--r--tests/farm/html/gold_omit_2/index.html12
-rw-r--r--tests/farm/html/gold_omit_2/m2_py.html24
-rw-r--r--tests/farm/html/gold_omit_2/m3_py.html24
-rw-r--r--tests/farm/html/gold_omit_2/main_py.html44
-rw-r--r--tests/farm/html/gold_omit_3/index.html10
-rw-r--r--tests/farm/html/gold_omit_3/m3_py.html24
-rw-r--r--tests/farm/html/gold_omit_3/main_py.html44
-rw-r--r--tests/farm/html/gold_omit_4/index.html12
-rw-r--r--tests/farm/html/gold_omit_4/m1_py.html24
-rw-r--r--tests/farm/html/gold_omit_4/m3_py.html24
-rw-r--r--tests/farm/html/gold_omit_4/main_py.html44
-rw-r--r--tests/farm/html/gold_omit_5/index.html10
-rw-r--r--tests/farm/html/gold_omit_5/m1_py.html24
-rw-r--r--tests/farm/html/gold_omit_5/main_py.html44
-rw-r--r--tests/farm/html/gold_other/blah_blah_other_py.html24
-rw-r--r--tests/farm/html/gold_other/here_py.html38
-rw-r--r--tests/farm/html/gold_other/index.html10
-rw-r--r--tests/farm/html/gold_partial/index.html8
-rw-r--r--tests/farm/html/gold_partial/partial_py.html50
-rw-r--r--tests/farm/html/gold_styled/a_py.html38
-rw-r--r--tests/farm/html/gold_styled/index.html8
-rw-r--r--tests/farm/html/gold_styled/style.css5
-rw-r--r--tests/farm/html/gold_unicode/index.html8
-rw-r--r--tests/farm/html/gold_unicode/unicode_py.html30
-rw-r--r--tests/farm/html/gold_x_xml/coverage.xml44
-rw-r--r--tests/farm/html/gold_y_xml_branch/coverage.xml48
-rw-r--r--tests/farm/html/othersrc/other.py3
-rw-r--r--tests/farm/html/run_a.py3
-rw-r--r--tests/farm/html/run_a_xml_1.py3
-rw-r--r--tests/farm/html/run_a_xml_2.py3
-rw-r--r--tests/farm/html/run_b_branch.py7
-rw-r--r--tests/farm/html/run_bom.py3
-rw-r--r--tests/farm/html/run_isolatin1.py3
-rw-r--r--tests/farm/html/run_omit_1.py3
-rw-r--r--tests/farm/html/run_omit_2.py3
-rw-r--r--tests/farm/html/run_omit_3.py3
-rw-r--r--tests/farm/html/run_omit_4.py3
-rw-r--r--tests/farm/html/run_omit_5.py3
-rw-r--r--tests/farm/html/run_other.py3
-rw-r--r--tests/farm/html/run_partial.py7
-rw-r--r--tests/farm/html/run_styled.py3
-rw-r--r--tests/farm/html/run_tabbed.py3
-rw-r--r--tests/farm/html/run_unicode.py3
-rw-r--r--tests/farm/html/run_y_xml_branch.py3
-rw-r--r--tests/farm/html/src/a.py3
-rw-r--r--tests/farm/html/src/b.py3
-rw-r--r--tests/farm/html/src/bom.py23
-rw-r--r--tests/farm/html/src/here.py3
-rw-r--r--tests/farm/html/src/isolatin1.py5
-rw-r--r--tests/farm/html/src/m1.py3
-rw-r--r--tests/farm/html/src/m2.py3
-rw-r--r--tests/farm/html/src/m3.py3
-rw-r--r--tests/farm/html/src/main.py3
-rw-r--r--tests/farm/html/src/omit4.ini3
-rw-r--r--tests/farm/html/src/omit5.ini3
-rw-r--r--tests/farm/html/src/partial.py3
-rw-r--r--tests/farm/html/src/run_a_xml_2.ini3
-rw-r--r--tests/farm/html/src/tabbed.py3
-rw-r--r--tests/farm/html/src/unicode.py5
-rw-r--r--tests/farm/html/src/y.py3
-rw-r--r--tests/farm/run/run_chdir.py3
-rw-r--r--tests/farm/run/run_timid.py3
-rw-r--r--tests/farm/run/run_xxx.py3
-rw-r--r--tests/farm/run/src/chdir.py3
-rw-r--r--tests/farm/run/src/showtrace.py3
-rw-r--r--tests/farm/run/src/xxx3
-rw-r--r--tests/helpers.py3
-rw-r--r--tests/js/tests.js3
-rw-r--r--tests/modules/covmod1.py3
-rw-r--r--tests/modules/pkg1/p1a.py3
-rw-r--r--tests/modules/pkg1/p1b.py3
-rw-r--r--tests/modules/pkg1/p1c.py3
-rw-r--r--tests/modules/pkg1/runmod2.py3
-rw-r--r--tests/modules/pkg1/sub/ps1a.py3
-rw-r--r--tests/modules/pkg1/sub/runmod3.py3
-rw-r--r--tests/modules/pkg2/p2a.py3
-rw-r--r--tests/modules/pkg2/p2b.py3
-rw-r--r--tests/modules/plugins/another.py3
-rw-r--r--tests/modules/runmod1.py3
-rw-r--r--tests/modules/usepkgs.py3
-rw-r--r--tests/moremodules/othermods/othera.py3
-rw-r--r--tests/moremodules/othermods/otherb.py3
-rw-r--r--tests/moremodules/othermods/sub/osa.py3
-rw-r--r--tests/moremodules/othermods/sub/osb.py3
-rw-r--r--tests/osinfo.py3
-rw-r--r--tests/plugin1.py3
-rw-r--r--tests/plugin2.py3
-rw-r--r--tests/stress_phystoken.tok3
-rw-r--r--tests/stress_phystoken_dos.tok3
-rw-r--r--tests/test_api.py5
-rw-r--r--tests/test_arcs.py5
-rw-r--r--tests/test_backward.py3
-rw-r--r--tests/test_cmdline.py5
-rw-r--r--tests/test_collector.py3
-rw-r--r--tests/test_concurrency.py3
-rw-r--r--tests/test_config.py3
-rw-r--r--tests/test_coverage.py6
-rw-r--r--tests/test_data.py3
-rw-r--r--tests/test_debug.py3
-rw-r--r--tests/test_execfile.py3
-rw-r--r--tests/test_farm.py3
-rw-r--r--tests/test_filereporter.py5
-rw-r--r--tests/test_files.py3
-rw-r--r--tests/test_html.py3
-rw-r--r--tests/test_misc.py3
-rw-r--r--tests/test_oddball.py3
-rw-r--r--tests/test_parser.py5
-rw-r--r--tests/test_phystokens.py5
-rw-r--r--tests/test_plugins.py3
-rw-r--r--tests/test_process.py3
-rw-r--r--tests/test_python.py3
-rw-r--r--tests/test_results.py5
-rw-r--r--tests/test_summary.py9
-rw-r--r--tests/test_templite.py3
-rw-r--r--tests/test_testing.py3
-rw-r--r--tests/test_xml.py3
-rw-r--r--tests/try_execfile.py3
-rw-r--r--tox.ini6
-rw-r--r--tox_wheels.ini3
-rw-r--r--tox_winkits.ini3
222 files changed, 1230 insertions, 534 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 82d3c9a..de65cfa 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
------------------------------
Change history for Coverage.py
------------------------------
@@ -7,7 +10,7 @@ Latest
------
- Coverage.py is now licensed under the Apache 2.0 license. See NOTICE.txt for
- details.
+ details. Closes `issue 313`_.
- The data storage has been completely revamped. The data file is now
almost-JSON instead of a pickle, closing `issue 236`_. The `CoverageData`
@@ -38,6 +41,7 @@ Latest
.. _issue 236: https://bitbucket.org/ned/coveragepy/issues/236/pickles-are-bad-and-you-should-feel-bad
.. _issue 275: https://bitbucket.org/ned/coveragepy/issues/275/refer-consistently-to-project-as-coverage
+.. _issue 313: https://bitbucket.org/ned/coveragepy/issues/313/add-license-file-containing-2-3-or-4
.. _issue 380: https://bitbucket.org/ned/coveragepy/issues/380/code-executed-by-exec-excluded-from
.. 41 issues closed in 4.0 below here
diff --git a/MANIFEST.in b/MANIFEST.in
index 7224674..fd3afc4 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# MANIFEST.in file for coverage.py
recursive-include coverage/htmlfiles *
recursive-include coverage/fullcoverage *
diff --git a/Makefile b/Makefile
index 8e7299d..c7e20d9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# Makefile for utility work on Coverage.
default:
diff --git a/README.txt b/README.txt
index 2c6fe3d..6b35f34 100644
--- a/README.txt
+++ b/README.txt
@@ -7,3 +7,6 @@ library to determine which lines are executable, and which have been executed.
For more information, see http://nedbatchelder.com/code/coverage
Code repo and issue tracking are at http://bitbucket.org/ned/coveragepy
+
+Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
diff --git a/__main__.py b/__main__.py
index b11dafc..a44b820 100644
--- a/__main__.py
+++ b/__main__.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Be able to execute coverage.py by pointing Python at a working tree."""
import runpy, os
diff --git a/coverage/__init__.py b/coverage/__init__.py
index b59bad3..f9e8a04 100644
--- a/coverage/__init__.py
+++ b/coverage/__init__.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Code coverage measurement for Python.
Ned Batchelder
diff --git a/coverage/__main__.py b/coverage/__main__.py
index 55e0d25..35ab87a 100644
--- a/coverage/__main__.py
+++ b/coverage/__main__.py
@@ -1,4 +1,8 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Coverage.py's main entry point."""
+
import sys
from coverage.cmdline import main
sys.exit(main())
diff --git a/coverage/annotate.py b/coverage/annotate.py
index 91bbe67..4b4966e 100644
--- a/coverage/annotate.py
+++ b/coverage/annotate.py
@@ -1,4 +1,7 @@
-"""Source file annotation for Coverage."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Source file annotation for coverage.py."""
import io
import os
diff --git a/coverage/backunittest.py b/coverage/backunittest.py
index 5aff043..09574cc 100644
--- a/coverage/backunittest.py
+++ b/coverage/backunittest.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Implementations of unittest features from the future."""
# Use unittest2 if it's available, otherwise unittest. This gives us
diff --git a/coverage/backward.py b/coverage/backward.py
index 46c70fb..fecb028 100644
--- a/coverage/backward.py
+++ b/coverage/backward.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Add things to old Pythons so I can pretend they are newer."""
# This file does lots of tricky stuff, so disable a bunch of pylint warnings.
diff --git a/coverage/bytecode.py b/coverage/bytecode.py
index d730493..82929ce 100644
--- a/coverage/bytecode.py
+++ b/coverage/bytecode.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Bytecode manipulation for coverage.py"""
import opcode
diff --git a/coverage/cmdline.py b/coverage/cmdline.py
index c0c9a98..af5ff0c 100644
--- a/coverage/cmdline.py
+++ b/coverage/cmdline.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Command-line support for coverage.py."""
import glob
diff --git a/coverage/collector.py b/coverage/collector.py
index 8ea0427..52a80f6 100644
--- a/coverage/collector.py
+++ b/coverage/collector.py
@@ -1,4 +1,7 @@
-"""Raw data collector for Coverage."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Raw data collector for coverage.py."""
import os, sys
diff --git a/coverage/config.py b/coverage/config.py
index 63f3018..c60df10 100644
--- a/coverage/config.py
+++ b/coverage/config.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Config file for coverage.py"""
import os, re, sys
diff --git a/coverage/control.py b/coverage/control.py
index ef9b8f1..d565013 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -1,4 +1,7 @@
-"""Core control stuff for Coverage."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Core control stuff for coverage.py."""
import atexit
import inspect
diff --git a/coverage/data.py b/coverage/data.py
index 704a348..930e04a 100644
--- a/coverage/data.py
+++ b/coverage/data.py
@@ -1,4 +1,7 @@
-"""Coverage data for Coverage."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Coverage data for coverage.py."""
import glob
import json
diff --git a/coverage/debug.py b/coverage/debug.py
index 45d720c..8d36c1c 100644
--- a/coverage/debug.py
+++ b/coverage/debug.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Control of and utilities for debugging."""
import inspect
diff --git a/coverage/env.py b/coverage/env.py
index c1d838b..1d2846c 100644
--- a/coverage/env.py
+++ b/coverage/env.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Determine facts about the environment."""
import os
diff --git a/coverage/execfile.py b/coverage/execfile.py
index 942bfd5..121f373 100644
--- a/coverage/execfile.py
+++ b/coverage/execfile.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Execute files of Python code."""
import marshal
diff --git a/coverage/files.py b/coverage/files.py
index 154954d..762445f 100644
--- a/coverage/files.py
+++ b/coverage/files.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""File wrangling."""
import fnmatch
diff --git a/coverage/fullcoverage/encodings.py b/coverage/fullcoverage/encodings.py
index df83366..699f386 100644
--- a/coverage/fullcoverage/encodings.py
+++ b/coverage/fullcoverage/encodings.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Imposter encodings module that installs a coverage-style tracer.
This is NOT the encodings module; it is an imposter that sets up tracing
diff --git a/coverage/html.py b/coverage/html.py
index 62c13e2..9022ac4 100644
--- a/coverage/html.py
+++ b/coverage/html.py
@@ -1,4 +1,7 @@
-"""HTML reporting for Coverage."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""HTML reporting for coverage.py."""
import datetime
import json
diff --git a/coverage/htmlfiles/coverage_html.js b/coverage/htmlfiles/coverage_html.js
index 5ef0ece..bd6a875 100644
--- a/coverage/htmlfiles/coverage_html.js
+++ b/coverage/htmlfiles/coverage_html.js
@@ -1,3 +1,6 @@
+// Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+// For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
// Coverage.py HTML report browser code.
/*jslint browser: true, sloppy: true, vars: true, plusplus: true, maxerr: 50, indent: 4 */
/*global coverage: true, document, window, $ */
diff --git a/coverage/htmlfiles/index.html b/coverage/htmlfiles/index.html
index 767de41..25ced0e 100644
--- a/coverage/htmlfiles/index.html
+++ b/coverage/htmlfiles/index.html
@@ -1,3 +1,6 @@
+{# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 #}
+{# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt #}
+
<!DOCTYPE html>
<html>
<head>
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html
index bf65ee5..7bf9f55 100644
--- a/coverage/htmlfiles/pyfile.html
+++ b/coverage/htmlfiles/pyfile.html
@@ -1,3 +1,6 @@
+{# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 #}
+{# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt #}
+
<!DOCTYPE html>
<html>
<head>
diff --git a/coverage/htmlfiles/style.css b/coverage/htmlfiles/style.css
index 038335c..2dfb8f6 100644
--- a/coverage/htmlfiles/style.css
+++ b/coverage/htmlfiles/style.css
@@ -1,4 +1,7 @@
-/* CSS styles for Coverage. */
+/* Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 */
+/* For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt */
+
+/* CSS styles for coverage.py. */
/* Page-wide styles */
html, body, h1, h2, h3, p, table, td, th {
margin: 0;
diff --git a/coverage/misc.py b/coverage/misc.py
index 6b7321d..c794b55 100644
--- a/coverage/misc.py
+++ b/coverage/misc.py
@@ -1,4 +1,7 @@
-"""Miscellaneous stuff for Coverage."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Miscellaneous stuff for coverage.py."""
import errno
import hashlib
diff --git a/coverage/monkey.py b/coverage/monkey.py
index 417b64f..c4ec68c 100644
--- a/coverage/monkey.py
+++ b/coverage/monkey.py
@@ -1,4 +1,7 @@
-"""Monkey-patching to make coverage work right in some cases."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Monkey-patching to make coverage.py work right in some cases."""
import multiprocessing
import multiprocessing.process
diff --git a/coverage/parser.py b/coverage/parser.py
index 173bdf9..2841c6b 100644
--- a/coverage/parser.py
+++ b/coverage/parser.py
@@ -1,4 +1,7 @@
-"""Code parsing for Coverage."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Code parsing for coverage.py."""
import collections
import dis
diff --git a/coverage/phystokens.py b/coverage/phystokens.py
index 6d8e1ec..7a033ae 100644
--- a/coverage/phystokens.py
+++ b/coverage/phystokens.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Better tokenizing for coverage.py."""
import codecs
diff --git a/coverage/plugin.py b/coverage/plugin.py
index 44dab55..c039f81 100644
--- a/coverage/plugin.py
+++ b/coverage/plugin.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Plugin interfaces for coverage.py"""
import os
diff --git a/coverage/plugin_support.py b/coverage/plugin_support.py
index ae72f79..5c577be 100644
--- a/coverage/plugin_support.py
+++ b/coverage/plugin_support.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Support for plugins."""
import os.path
diff --git a/coverage/python.py b/coverage/python.py
index b1667f6..5c126c4 100644
--- a/coverage/python.py
+++ b/coverage/python.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Python source expertise for coverage.py"""
import os.path
diff --git a/coverage/pytracer.py b/coverage/pytracer.py
index 3f03aaf..c657ad0 100644
--- a/coverage/pytracer.py
+++ b/coverage/pytracer.py
@@ -1,4 +1,7 @@
-"""Raw data collector for Coverage."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Raw data collector for coverage.py."""
import dis
import sys
diff --git a/coverage/report.py b/coverage/report.py
index 33a4607..fa08186 100644
--- a/coverage/report.py
+++ b/coverage/report.py
@@ -1,4 +1,7 @@
-"""Reporter foundation for Coverage."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Reporter foundation for coverage.py."""
import os
diff --git a/coverage/results.py b/coverage/results.py
index c7a2f95..f15fae7 100644
--- a/coverage/results.py
+++ b/coverage/results.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Results of coverage measurement."""
import collections
diff --git a/coverage/summary.py b/coverage/summary.py
index 60cb415..03270c0 100644
--- a/coverage/summary.py
+++ b/coverage/summary.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Summary reporting"""
import sys
diff --git a/coverage/templite.py b/coverage/templite.py
index 9f882cf..8595b86 100644
--- a/coverage/templite.py
+++ b/coverage/templite.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""A simple Python template renderer, for a nano-subset of Django syntax."""
# Coincidentally named the same as http://code.activestate.com/recipes/496702/
diff --git a/coverage/test_helpers.py b/coverage/test_helpers.py
index 278b0a8..3ddb48b 100644
--- a/coverage/test_helpers.py
+++ b/coverage/test_helpers.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Mixin classes to help make good tests."""
import atexit
diff --git a/coverage/tracer.c b/coverage/tracer.c
index 7cdb772..11606eb 100644
--- a/coverage/tracer.c
+++ b/coverage/tracer.c
@@ -1,4 +1,7 @@
-/* C-based Tracer for Coverage. */
+/* Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 */
+/* For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt */
+
+/* C-based Tracer for coverage.py. */
#include "Python.h"
#include "structmember.h"
diff --git a/coverage/version.py b/coverage/version.py
index 246dcba..f95881c 100644
--- a/coverage/version.py
+++ b/coverage/version.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""The version and URL for coverage.py"""
# This file is exec'ed in setup.py, don't import anything!
diff --git a/coverage/xmlreport.py b/coverage/xmlreport.py
index aa12ab2..b60cecd 100644
--- a/coverage/xmlreport.py
+++ b/coverage/xmlreport.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""XML reporting for coverage.py"""
import os
diff --git a/doc/api.rst b/doc/api.rst
index bb039e9..7001572 100644
--- a/doc/api.rst
+++ b/doc/api.rst
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
.. _api:
============
diff --git a/doc/branch.rst b/doc/branch.rst
index 71367de..9cee70b 100644
--- a/doc/branch.rst
+++ b/doc/branch.rst
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
.. _branch:
===========================
diff --git a/doc/changes.rst b/doc/changes.rst
index 53ea360..64be4f2 100644
--- a/doc/changes.rst
+++ b/doc/changes.rst
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
.. _changes:
====================================
diff --git a/doc/cmd.rst b/doc/cmd.rst
index b7e00e5..7827a5e 100644
--- a/doc/cmd.rst
+++ b/doc/cmd.rst
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
.. _cmd:
==============================
diff --git a/doc/conf.py b/doc/conf.py
index c996bda..7be1ca7 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
#
# coverage.py documentation build configuration file, created by
# sphinx-quickstart on Wed May 13 22:18:33 2009.
diff --git a/doc/config.rst b/doc/config.rst
index 7109fb8..980d046 100644
--- a/doc/config.rst
+++ b/doc/config.rst
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
.. _config:
===================
diff --git a/doc/contributing.rst b/doc/contributing.rst
index 32929e0..99459b1 100644
--- a/doc/contributing.rst
+++ b/doc/contributing.rst
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
.. _contributing:
===========================
diff --git a/doc/excluding.rst b/doc/excluding.rst
index c306ad4..465afe1 100644
--- a/doc/excluding.rst
+++ b/doc/excluding.rst
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
.. _excluding:
===============================
diff --git a/doc/faq.rst b/doc/faq.rst
index 2bae33d..e8e9c49 100644
--- a/doc/faq.rst
+++ b/doc/faq.rst
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
.. _faq:
==================
diff --git a/doc/index.rst b/doc/index.rst
index af24493..299bd88 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
===========
Coverage.py
===========
diff --git a/doc/install.rst b/doc/install.rst
index fa01e63..57fd38e 100644
--- a/doc/install.rst
+++ b/doc/install.rst
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
.. _install:
============
diff --git a/doc/plugins.rst b/doc/plugins.rst
index 32f00c9..30d7339 100644
--- a/doc/plugins.rst
+++ b/doc/plugins.rst
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
.. _plugins:
=======
diff --git a/doc/source.rst b/doc/source.rst
index 42fd338..b8dcb7b 100644
--- a/doc/source.rst
+++ b/doc/source.rst
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
.. _source:
=======================
diff --git a/doc/subprocess.rst b/doc/subprocess.rst
index 92ad135..5a55dc4 100644
--- a/doc/subprocess.rst
+++ b/doc/subprocess.rst
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
.. _subprocess:
=======================
diff --git a/doc/trouble.rst b/doc/trouble.rst
index dbb22ac..b701198 100644
--- a/doc/trouble.rst
+++ b/doc/trouble.rst
@@ -1,3 +1,6 @@
+.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+.. For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
.. _trouble:
=========================
diff --git a/igor.py b/igor.py
index 112621d..e89808a 100644
--- a/igor.py
+++ b/igor.py
@@ -1,4 +1,7 @@
# coding: utf-8
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Helper for building, testing, and linting coverage.py.
To get portability, all these operations are written in Python here instead
diff --git a/lab/branches.py b/lab/branches.py
index fbba87e..275eef4 100644
--- a/lab/branches.py
+++ b/lab/branches.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# Demonstrate some issues with coverage.py branch testing.
def my_function(x):
diff --git a/lab/hack_pyc.py b/lab/hack_pyc.py
index 1cdc476..0ebd994 100644
--- a/lab/hack_pyc.py
+++ b/lab/hack_pyc.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
""" Wicked hack to get .pyc files to do bytecode tracing instead of
line tracing.
"""
diff --git a/lab/lnotab.py b/lab/lnotab.py
deleted file mode 100644
index 230e42b..0000000
--- a/lab/lnotab.py
+++ /dev/null
@@ -1,122 +0,0 @@
-# Comment copied from Python/compile.c:
-#
-# All about a_lnotab.
-#
-# c_lnotab is an array of unsigned bytes disguised as a Python string.
-# It is used to map bytecode offsets to source code line #s (when needed
-# for tracebacks).
-#
-# The array is conceptually a list of
-# (bytecode offset increment, line number increment)
-# pairs. The details are important and delicate, best illustrated by example:
-#
-# byte code offset source code line number
-# 0 1
-# 6 2
-# 50 7
-# 350 307
-# 361 308
-#
-# The first trick is that these numbers aren't stored, only the increments
-# from one row to the next (this doesn't really work, but it's a start):
-#
-# 0, 1, 6, 1, 44, 5, 300, 300, 11, 1
-#
-# The second trick is that an unsigned byte can't hold negative values, or
-# values larger than 255, so (a) there's a deep assumption that byte code
-# offsets and their corresponding line #s both increase monotonically, and (b)
-# if at least one column jumps by more than 255 from one row to the next, more
-# than one pair is written to the table. In case #b, there's no way to know
-# from looking at the table later how many were written. That's the delicate
-# part. A user of c_lnotab desiring to find the source line number
-# corresponding to a bytecode address A should do something like this
-#
-# lineno = addr = 0
-# for addr_incr, line_incr in c_lnotab:
-# addr += addr_incr
-# if addr > A:
-# return lineno
-# lineno += line_incr
-#
-# In order for this to work, when the addr field increments by more than 255,
-# the line # increment in each pair generated must be 0 until the remaining addr
-# increment is < 256. So, in the example above, assemble_lnotab (it used
-# to be called com_set_lineno) should not (as was actually done until 2.2)
-# expand 300, 300 to 255, 255, 45, 45,
-# but to 255, 0, 45, 255, 0, 45.
-#
-
-def lnotab(pairs, first_lineno=0):
- """Yields byte integers representing the pairs of integers passed in."""
- assert first_lineno <= pairs[0][1]
- cur_byte, cur_line = 0, first_lineno
- for byte_off, line_off in pairs:
- byte_delta = byte_off - cur_byte
- line_delta = line_off - cur_line
- assert byte_delta >= 0
- assert line_delta >= 0
- while byte_delta > 255:
- yield 255 # byte
- yield 0 # line
- byte_delta -= 255
- yield byte_delta
- while line_delta > 255:
- yield 255 # line
- yield 0 # byte
- line_delta -= 255
- yield line_delta
- cur_byte, cur_line = byte_off, line_off
-
-def lnotab_string(pairs, first_lineno=0):
- return "".join(chr(b) for b in lnotab(pairs, first_lineno))
-
-def byte_pairs(lnotab):
- """Yield pairs of integers from a string."""
- for i in range(0, len(lnotab), 2):
- yield ord(lnotab[i]), ord(lnotab[i+1])
-
-def lnotab_numbers(lnotab, first_lineno=0):
- """Yields the byte, line offset pairs from a packed lnotab string."""
-
- last_line = None
- cur_byte, cur_line = 0, first_lineno
- for byte_delta, line_delta in byte_pairs(lnotab):
- if byte_delta:
- if cur_line != last_line:
- yield cur_byte, cur_line
- last_line = cur_line
- cur_byte += byte_delta
- cur_line += line_delta
- if cur_line != last_line:
- yield cur_byte, cur_line
-
-
-## Tests
-
-def same_list(a, b):
- a = list(a)
- assert a == b
-
-def test_simple():
- same_list(lnotab([(0,1)]), [0, 1])
- same_list(lnotab([(0,1), (6, 2)]), [0, 1, 6, 1])
-
-def test_starting_above_one():
- same_list(lnotab([(0,100), (6,101)]), [0, 100, 6, 1])
- same_list(lnotab([(0,100), (6,101)], 50), [0, 50, 6, 1])
-
-def test_large_gaps():
- same_list(lnotab([(0,1), (300, 300)]), [0, 1, 255, 0, 45, 255, 0, 44])
- same_list(lnotab([(0,1), (255, 300)]), [0, 1, 255, 255, 0, 44])
- same_list(lnotab([(0,1), (255, 256)]), [0, 1, 255, 255])
-
-def test_strings():
- assert lnotab_string([(0,1), (6, 2)]) == "\x00\x01\x06\x01"
- assert lnotab_string([(0,1), (300, 300)]) == "\x00\x01\xff\x00\x2d\xff\x00\x2c"
-
-def test_numbers():
- same_list(lnotab_numbers("\x00\x01\x06\x01"), [(0,1), (6,2)])
- same_list(lnotab_numbers("\x00\x01\xff\x00\x2d\xff\x00\x2c"), [(0,1), (300, 300)])
-
-def test_numbers_firstlineno():
- same_list(lnotab_numbers("\x00\x01\xff\x00\x2d\xff\x00\x2c", 10), [(0,11), (300, 310)])
diff --git a/lab/parser.py b/lab/parser.py
index 662183a..1343f4c 100644
--- a/lab/parser.py
+++ b/lab/parser.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Parser.py: a main for invoking code in coverage/parser.py"""
from __future__ import division
diff --git a/lab/run_trace.py b/lab/run_trace.py
index 3822a80..ea0a6cb 100644
--- a/lab/run_trace.py
+++ b/lab/run_trace.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Run a simple trace function on a file of Python code."""
import os, sys
diff --git a/lab/show_pyc.py b/lab/show_pyc.py
index d6bbd92..147c6ff 100644
--- a/lab/show_pyc.py
+++ b/lab/show_pyc.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
import dis, marshal, struct, sys, time, types
def show_pyc_file(fname):
diff --git a/metacov.ini b/metacov.ini
index 061b788..ba8c234 100644
--- a/metacov.ini
+++ b/metacov.ini
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# Settings to use when using coverage.py to measure itself.
[run]
branch = true
diff --git a/pylintrc b/pylintrc
index 7b43e93..fba8b40 100644
--- a/pylintrc
+++ b/pylintrc
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# lint Python modules using external checkers.
#
# This is the main checker controling the other ones and the reports
diff --git a/requirements.txt b/requirements.txt
index 26ea3c0..e2eede2 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# PyPI requirements for running tests for coverage.py
nose
mock
diff --git a/setup.py b/setup.py
index 89a50b3..e8892f7 100644
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# Distutils setup for coverage.py
"""Code coverage measurement for Python
diff --git a/test_old.sh b/test_old.sh
index 72c3b35..50cc240 100644
--- a/test_old.sh
+++ b/test_old.sh
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# Steps to prepare and run coverage.py tests, for Pythons < 2.5
# This should do the same steps as tox.ini
easy_install nose==1.2.1 mock==0.6.0
diff --git a/tests/backtest.py b/tests/backtest.py
index 5083472..827e891 100644
--- a/tests/backtest.py
+++ b/tests/backtest.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Add things to old Pythons so I can pretend they are newer, for tests."""
# pylint: disable=redefined-builtin
diff --git a/tests/coveragetest.py b/tests/coveragetest.py
index 2c92353..5a1de91 100644
--- a/tests/coveragetest.py
+++ b/tests/coveragetest.py
@@ -1,4 +1,7 @@
-"""Base test case class for coverage testing."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Base test case class for coverage.py testing."""
import datetime
import glob
diff --git a/tests/covmodzip1.py b/tests/covmodzip1.py
index 3ec4cdc..6f135dd 100644
--- a/tests/covmodzip1.py
+++ b/tests/covmodzip1.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""covmodzip.py: for putting into a zip file."""
j = 1
j += 1
diff --git a/tests/eggsrc/egg1/egg1.py b/tests/eggsrc/egg1/egg1.py
index 3fadde3..7260080 100644
--- a/tests/eggsrc/egg1/egg1.py
+++ b/tests/eggsrc/egg1/egg1.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# My egg file!
walrus = "Eggman"
diff --git a/tests/eggsrc/setup.py b/tests/eggsrc/setup.py
index f9b8b9d..c935798 100644
--- a/tests/eggsrc/setup.py
+++ b/tests/eggsrc/setup.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
from setuptools import setup
setup(
diff --git a/tests/farm/annotate/annotate_dir.py b/tests/farm/annotate/annotate_dir.py
index 86c18ca..3bb2dbe 100644
--- a/tests/farm/annotate/annotate_dir.py
+++ b/tests/farm/annotate/annotate_dir.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
copy("src", "run")
run("""
coverage run multi.py
diff --git a/tests/farm/annotate/gold/white.py,cover b/tests/farm/annotate/gold/white.py,cover
index 36b0b99..fc16322 100644
--- a/tests/farm/annotate/gold/white.py,cover
+++ b/tests/farm/annotate/gold/white.py,cover
@@ -1,3 +1,6 @@
+ # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+ # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# A test case sent to me by Steve White
> def f(self):
diff --git a/tests/farm/annotate/gold_anno_dir/a_a.py,cover b/tests/farm/annotate/gold_anno_dir/a_a.py,cover
index d0ff3c0..4729cfb 100644
--- a/tests/farm/annotate/gold_anno_dir/a_a.py,cover
+++ b/tests/farm/annotate/gold_anno_dir/a_a.py,cover
@@ -1,3 +1,6 @@
+ # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+ # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
> def a(x):
> if x == 1:
> print("x is 1")
diff --git a/tests/farm/annotate/gold_anno_dir/b_b.py,cover b/tests/farm/annotate/gold_anno_dir/b_b.py,cover
index 90d076f..228715f 100644
--- a/tests/farm/annotate/gold_anno_dir/b_b.py,cover
+++ b/tests/farm/annotate/gold_anno_dir/b_b.py,cover
@@ -1,3 +1,6 @@
+ # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+ # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
> def b(x):
> msg = "x is %s" % x
> print(msg)
diff --git a/tests/farm/annotate/gold_anno_dir/multi.py,cover b/tests/farm/annotate/gold_anno_dir/multi.py,cover
index 2a5c59c..90a13c9 100644
--- a/tests/farm/annotate/gold_anno_dir/multi.py,cover
+++ b/tests/farm/annotate/gold_anno_dir/multi.py,cover
@@ -1,3 +1,6 @@
+ # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+ # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
> import a.a
> import b.b
diff --git a/tests/farm/annotate/gold_encodings/utf8.py,cover b/tests/farm/annotate/gold_encodings/utf8.py,cover
index 6dbf7e0..3ef31e0 100644
--- a/tests/farm/annotate/gold_encodings/utf8.py,cover
+++ b/tests/farm/annotate/gold_encodings/utf8.py,cover
@@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
+ # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+ # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# This comment has an accent: é
> print("spam eggs")
diff --git a/tests/farm/annotate/gold_multi/a/a.py,cover b/tests/farm/annotate/gold_multi/a/a.py,cover
index fb3f543..e5e9722 100644
--- a/tests/farm/annotate/gold_multi/a/a.py,cover
+++ b/tests/farm/annotate/gold_multi/a/a.py,cover
@@ -1,3 +1,6 @@
+ # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+ # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
> def a(x):
> if x == 1:
> print "x is 1"
diff --git a/tests/farm/annotate/gold_multi/b/b.py,cover b/tests/farm/annotate/gold_multi/b/b.py,cover
index a3f5dae..26b2554 100644
--- a/tests/farm/annotate/gold_multi/b/b.py,cover
+++ b/tests/farm/annotate/gold_multi/b/b.py,cover
@@ -1,2 +1,5 @@
+ # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+ # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
> def b(x):
> print "x is %s" % x
diff --git a/tests/farm/annotate/gold_multi/multi.py,cover b/tests/farm/annotate/gold_multi/multi.py,cover
index 2a5c59c..90a13c9 100644
--- a/tests/farm/annotate/gold_multi/multi.py,cover
+++ b/tests/farm/annotate/gold_multi/multi.py,cover
@@ -1,3 +1,6 @@
+ # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+ # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
> import a.a
> import b.b
diff --git a/tests/farm/annotate/gold_v24/white.py,cover b/tests/farm/annotate/gold_v24/white.py,cover
index bbd8d42..8af136b 100644
--- a/tests/farm/annotate/gold_v24/white.py,cover
+++ b/tests/farm/annotate/gold_v24/white.py,cover
@@ -1,3 +1,6 @@
+ # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+ # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# A test case sent to me by Steve White
> def f(self):
diff --git a/tests/farm/annotate/run.py b/tests/farm/annotate/run.py
index 236f401..33e5f67 100644
--- a/tests/farm/annotate/run.py
+++ b/tests/farm/annotate/run.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
copy("src", "out")
run("""
coverage run white.py
diff --git a/tests/farm/annotate/run_encodings.py b/tests/farm/annotate/run_encodings.py
index eb1a3a9..527cd88 100644
--- a/tests/farm/annotate/run_encodings.py
+++ b/tests/farm/annotate/run_encodings.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
copy("src", "out")
run("""
coverage run utf8.py
diff --git a/tests/farm/annotate/run_multi.py b/tests/farm/annotate/run_multi.py
index ef1e823..4646293 100644
--- a/tests/farm/annotate/run_multi.py
+++ b/tests/farm/annotate/run_multi.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
copy("src", "out_multi")
run("""
coverage run multi.py
diff --git a/tests/farm/annotate/src/a/a.py b/tests/farm/annotate/src/a/a.py
index c2583d1..e3e6631 100644
--- a/tests/farm/annotate/src/a/a.py
+++ b/tests/farm/annotate/src/a/a.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
def a(x):
if x == 1:
print("x is 1")
diff --git a/tests/farm/annotate/src/b/b.py b/tests/farm/annotate/src/b/b.py
index 625a549..b31d8c9 100644
--- a/tests/farm/annotate/src/b/b.py
+++ b/tests/farm/annotate/src/b/b.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
def b(x):
msg = "x is %s" % x
print(msg)
diff --git a/tests/farm/annotate/src/multi.py b/tests/farm/annotate/src/multi.py
index 19a6200..bf8cfd5 100644
--- a/tests/farm/annotate/src/multi.py
+++ b/tests/farm/annotate/src/multi.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
import a.a
import b.b
diff --git a/tests/farm/annotate/src/utf8.py b/tests/farm/annotate/src/utf8.py
index 27342d8..fd43b2a 100644
--- a/tests/farm/annotate/src/utf8.py
+++ b/tests/farm/annotate/src/utf8.py
@@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# This comment has an accent: é
print("spam eggs")
diff --git a/tests/farm/annotate/src/white.py b/tests/farm/annotate/src/white.py
index ecbbd25..21e8a62 100644
--- a/tests/farm/annotate/src/white.py
+++ b/tests/farm/annotate/src/white.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# A test case sent to me by Steve White
def f(self):
diff --git a/tests/farm/html/gold_a/a_py.html b/tests/farm/html/gold_a/a_py.html
index a134645..e52b303 100644
--- a/tests/farm/html/gold_a/a_py.html
+++ b/tests/farm/html/gold_a/a_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for a: 67%</title>
+ <title>Coverage for a.py: 67%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>a</b> :
+ <h1>Coverage for <b>a.py</b> :
<span class="pc_cov">67%</span>
</h1>
@@ -66,21 +69,27 @@
<td class="linenos">
<p id="n1" class="pln"><a href="#n1">1</a></p>
<p id="n2" class="pln"><a href="#n2">2</a></p>
-<p id="n3" class="stm run hide_run"><a href="#n3">3</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
<p id="n4" class="pln"><a href="#n4">4</a></p>
-<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
-<p id="n6" class="pln"><a href="#n6">6</a></p>
-<p id="n7" class="stm mis"><a href="#n7">7</a></p>
+<p id="n5" class="pln"><a href="#n5">5</a></p>
+<p id="n6" class="stm run hide_run"><a href="#n6">6</a></p>
+<p id="n7" class="pln"><a href="#n7">7</a></p>
+<p id="n8" class="stm run hide_run"><a href="#n8">8</a></p>
+<p id="n9" class="pln"><a href="#n9">9</a></p>
+<p id="n10" class="stm mis"><a href="#n10">10</a></p>
</td>
<td class="text">
-<p id="t1" class="pln"><span class="com"># A test file for HTML reporting by coverage.py.</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t3" class="stm run hide_run"><span class="key">if</span> <span class="num">1</span> <span class="op">&lt;</span> <span class="num">2</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t4" class="pln">&nbsp; &nbsp; <span class="com"># Needed a &lt; to look at HTML entities.</span><span class="strut">&nbsp;</span></p>
-<p id="t5" class="stm run hide_run">&nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">3</span><span class="strut">&nbsp;</span></p>
-<p id="t6" class="pln"><span class="key">else</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t7" class="stm mis">&nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">4</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="pln"><span class="com"># A test file for HTML reporting by coverage.py.</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t6" class="stm run hide_run"><span class="key">if</span> <span class="num">1</span> <span class="op">&lt;</span> <span class="num">2</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t7" class="pln">&nbsp; &nbsp; <span class="com"># Needed a &lt; to look at HTML entities.</span><span class="strut">&nbsp;</span></p>
+<p id="t8" class="stm run hide_run">&nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">3</span><span class="strut">&nbsp;</span></p>
+<p id="t9" class="pln"><span class="key">else</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t10" class="stm mis">&nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">4</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -90,7 +99,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_a/index.html b/tests/farm/html/gold_a/index.html
index dfbfd24..4f462fe 100644
--- a/tests/farm/html/gold_a/index.html
+++ b/tests/farm/html/gold_a/index.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -72,7 +75,7 @@
<tbody>
<tr class="file">
- <td class="name left"><a href="a.html">a</a></td>
+ <td class="name left"><a href="a_py.html">a.py</a></td>
<td>3</td>
<td>1</td>
<td>0</td>
@@ -91,7 +94,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:31
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_b_branch/b_py.html b/tests/farm/html/gold_b_branch/b_py.html
index aa6be59..4ee9e1c 100644
--- a/tests/farm/html/gold_b_branch/b_py.html
+++ b/tests/farm/html/gold_b_branch/b_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for b: 70%</title>
+ <title>Coverage for b.py: 70%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>b</b> :
+ <h1>Coverage for <b>b.py</b> :
<span class="pc_cov">70%</span>
</h1>
@@ -68,65 +71,71 @@
<td class="linenos">
<p id="n1" class="pln"><a href="#n1">1</a></p>
<p id="n2" class="pln"><a href="#n2">2</a></p>
-<p id="n3" class="stm run hide_run"><a href="#n3">3</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
<p id="n4" class="pln"><a href="#n4">4</a></p>
-<p id="n5" class="stm par run hide_run"><a href="#n5">5</a></p>
+<p id="n5" class="pln"><a href="#n5">5</a></p>
<p id="n6" class="stm run hide_run"><a href="#n6">6</a></p>
<p id="n7" class="pln"><a href="#n7">7</a></p>
-<p id="n8" class="stm mis"><a href="#n8">8</a></p>
-<p id="n9" class="pln"><a href="#n9">9</a></p>
-<p id="n10" class="stm run hide_run"><a href="#n10">10</a></p>
-<p id="n11" class="pln"><a href="#n11">11</a></p>
-<p id="n12" class="stm run hide_run"><a href="#n12">12</a></p>
-<p id="n13" class="pln"><a href="#n13">13</a></p>
-<p id="n14" class="stm par run hide_run"><a href="#n14">14</a></p>
+<p id="n8" class="stm par run hide_run"><a href="#n8">8</a></p>
+<p id="n9" class="stm run hide_run"><a href="#n9">9</a></p>
+<p id="n10" class="pln"><a href="#n10">10</a></p>
+<p id="n11" class="stm mis"><a href="#n11">11</a></p>
+<p id="n12" class="pln"><a href="#n12">12</a></p>
+<p id="n13" class="stm run hide_run"><a href="#n13">13</a></p>
+<p id="n14" class="pln"><a href="#n14">14</a></p>
<p id="n15" class="stm run hide_run"><a href="#n15">15</a></p>
<p id="n16" class="pln"><a href="#n16">16</a></p>
-<p id="n17" class="stm run hide_run"><a href="#n17">17</a></p>
-<p id="n18" class="pln"><a href="#n18">18</a></p>
-<p id="n19" class="stm run hide_run"><a href="#n19">19</a></p>
+<p id="n17" class="stm par run hide_run"><a href="#n17">17</a></p>
+<p id="n18" class="stm run hide_run"><a href="#n18">18</a></p>
+<p id="n19" class="pln"><a href="#n19">19</a></p>
<p id="n20" class="stm run hide_run"><a href="#n20">20</a></p>
<p id="n21" class="pln"><a href="#n21">21</a></p>
-<p id="n22" class="stm par run hide_run"><a href="#n22">22</a></p>
-<p id="n23" class="stm mis"><a href="#n23">23</a></p>
+<p id="n22" class="stm run hide_run"><a href="#n22">22</a></p>
+<p id="n23" class="stm run hide_run"><a href="#n23">23</a></p>
<p id="n24" class="pln"><a href="#n24">24</a></p>
-<p id="n25" class="stm mis"><a href="#n25">25</a></p>
-<p id="n26" class="stm run hide_run"><a href="#n26">26</a></p>
-<p id="n27" class="stm run hide_run"><a href="#n27">27</a></p>
-<p id="n28" class="pln"><a href="#n28">28</a></p>
+<p id="n25" class="stm par run hide_run"><a href="#n25">25</a></p>
+<p id="n26" class="stm mis"><a href="#n26">26</a></p>
+<p id="n27" class="pln"><a href="#n27">27</a></p>
+<p id="n28" class="stm mis"><a href="#n28">28</a></p>
<p id="n29" class="stm run hide_run"><a href="#n29">29</a></p>
+<p id="n30" class="stm run hide_run"><a href="#n30">30</a></p>
+<p id="n31" class="pln"><a href="#n31">31</a></p>
+<p id="n32" class="stm run hide_run"><a href="#n32">32</a></p>
</td>
<td class="text">
-<p id="t1" class="pln"><span class="com"># A test file for HTML reporting by coverage.py.</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t3" class="stm run hide_run"><span class="key">def</span> <span class="nam">one</span><span class="op">(</span><span class="nam">x</span><span class="op">)</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t4" class="pln">&nbsp; &nbsp; <span class="com"># This will be a branch that misses the else.</span><span class="strut">&nbsp;</span></p>
-<p id="t5" class="stm par run hide_run"><span class="annotate" title="no jump to this line number">8</span>&nbsp; &nbsp; <span class="key">if</span> <span class="nam">x</span> <span class="op">&lt;</span> <span class="num">2</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t6" class="stm run hide_run">&nbsp; &nbsp; &nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">3</span><span class="strut">&nbsp;</span></p>
-<p id="t7" class="pln">&nbsp; &nbsp; <span class="key">else</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t8" class="stm mis">&nbsp; &nbsp; &nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">4</span><span class="strut">&nbsp;</span></p>
-<p id="t9" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t10" class="stm run hide_run"><span class="nam">one</span><span class="op">(</span><span class="num">1</span><span class="op">)</span><span class="strut">&nbsp;</span></p>
-<p id="t11" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t12" class="stm run hide_run"><span class="key">def</span> <span class="nam">two</span><span class="op">(</span><span class="nam">x</span><span class="op">)</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t13" class="pln">&nbsp; &nbsp; <span class="com"># A missed else that branches to &quot;exit&quot;</span><span class="strut">&nbsp;</span></p>
-<p id="t14" class="stm par run hide_run"><span class="annotate" title="no jump to this line number">exit</span>&nbsp; &nbsp; <span class="key">if</span> <span class="nam">x</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t15" class="stm run hide_run">&nbsp; &nbsp; &nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">5</span><span class="strut">&nbsp;</span></p>
-<p id="t16" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t17" class="stm run hide_run"><span class="nam">two</span><span class="op">(</span><span class="num">1</span><span class="op">)</span><span class="strut">&nbsp;</span></p>
-<p id="t18" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t19" class="stm run hide_run"><span class="key">def</span> <span class="nam">three</span><span class="op">(</span><span class="op">)</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t20" class="stm run hide_run">&nbsp; &nbsp; <span class="key">try</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t21" class="pln">&nbsp; &nbsp; &nbsp; &nbsp; <span class="com"># This if has two branches, *neither* one taken.</span><span class="strut">&nbsp;</span></p>
-<p id="t22" class="stm par run hide_run"><span class="annotate" title="no jumps to these line numbers">23&nbsp;&nbsp; 25</span>&nbsp; &nbsp; &nbsp; &nbsp; <span class="key">if</span> <span class="nam">name_error_this_variable_doesnt_exist</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t23" class="stm mis">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t24" class="pln">&nbsp; &nbsp; &nbsp; &nbsp; <span class="key">else</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t25" class="stm mis">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
-<p id="t26" class="stm run hide_run">&nbsp; &nbsp; <span class="key">except</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t27" class="stm run hide_run">&nbsp; &nbsp; &nbsp; &nbsp; <span class="key">pass</span><span class="strut">&nbsp;</span></p>
-<p id="t28" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t29" class="stm run hide_run"><span class="nam">three</span><span class="op">(</span><span class="op">)</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="pln"><span class="com"># A test file for HTML reporting by coverage.py.</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t6" class="stm run hide_run"><span class="key">def</span> <span class="nam">one</span><span class="op">(</span><span class="nam">x</span><span class="op">)</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t7" class="pln">&nbsp; &nbsp; <span class="com"># This will be a branch that misses the else.</span><span class="strut">&nbsp;</span></p>
+<p id="t8" class="stm par run hide_run"><span class="annotate" title="no jump to this line number">11</span>&nbsp; &nbsp; <span class="key">if</span> <span class="nam">x</span> <span class="op">&lt;</span> <span class="num">2</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t9" class="stm run hide_run">&nbsp; &nbsp; &nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">3</span><span class="strut">&nbsp;</span></p>
+<p id="t10" class="pln">&nbsp; &nbsp; <span class="key">else</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t11" class="stm mis">&nbsp; &nbsp; &nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">4</span><span class="strut">&nbsp;</span></p>
+<p id="t12" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t13" class="stm run hide_run"><span class="nam">one</span><span class="op">(</span><span class="num">1</span><span class="op">)</span><span class="strut">&nbsp;</span></p>
+<p id="t14" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t15" class="stm run hide_run"><span class="key">def</span> <span class="nam">two</span><span class="op">(</span><span class="nam">x</span><span class="op">)</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t16" class="pln">&nbsp; &nbsp; <span class="com"># A missed else that branches to &quot;exit&quot;</span><span class="strut">&nbsp;</span></p>
+<p id="t17" class="stm par run hide_run"><span class="annotate" title="no jump to this line number">exit</span>&nbsp; &nbsp; <span class="key">if</span> <span class="nam">x</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t18" class="stm run hide_run">&nbsp; &nbsp; &nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">5</span><span class="strut">&nbsp;</span></p>
+<p id="t19" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t20" class="stm run hide_run"><span class="nam">two</span><span class="op">(</span><span class="num">1</span><span class="op">)</span><span class="strut">&nbsp;</span></p>
+<p id="t21" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t22" class="stm run hide_run"><span class="key">def</span> <span class="nam">three</span><span class="op">(</span><span class="op">)</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t23" class="stm run hide_run">&nbsp; &nbsp; <span class="key">try</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t24" class="pln">&nbsp; &nbsp; &nbsp; &nbsp; <span class="com"># This if has two branches, *neither* one taken.</span><span class="strut">&nbsp;</span></p>
+<p id="t25" class="stm par run hide_run"><span class="annotate" title="no jumps to these line numbers">26&nbsp;&nbsp; 28</span>&nbsp; &nbsp; &nbsp; &nbsp; <span class="key">if</span> <span class="nam">name_error_this_variable_doesnt_exist</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t26" class="stm mis">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t27" class="pln">&nbsp; &nbsp; &nbsp; &nbsp; <span class="key">else</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t28" class="stm mis">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
+<p id="t29" class="stm run hide_run">&nbsp; &nbsp; <span class="key">except</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t30" class="stm run hide_run">&nbsp; &nbsp; &nbsp; &nbsp; <span class="key">pass</span><span class="strut">&nbsp;</span></p>
+<p id="t31" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t32" class="stm run hide_run"><span class="nam">three</span><span class="op">(</span><span class="op">)</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -136,7 +145,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_isolatin1/index.html b/tests/farm/html/gold_isolatin1/index.html
index bc3ea74..ff4d26f 100644
--- a/tests/farm/html/gold_isolatin1/index.html
+++ b/tests/farm/html/gold_isolatin1/index.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -72,7 +75,7 @@
<tbody>
<tr class="file">
- <td class="name left"><a href="isolatin1.html">isolatin1</a></td>
+ <td class="name left"><a href="isolatin1_py.html">isolatin1.py</a></td>
<td>2</td>
<td>0</td>
<td>0</td>
@@ -91,7 +94,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:31
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_isolatin1/isolatin1_py.html b/tests/farm/html/gold_isolatin1/isolatin1_py.html
index 934bb23..3c9af36 100644
--- a/tests/farm/html/gold_isolatin1/isolatin1_py.html
+++ b/tests/farm/html/gold_isolatin1/isolatin1_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for isolatin1: 100%</title>
+ <title>Coverage for isolatin1.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>isolatin1</b> :
+ <h1>Coverage for <b>isolatin1.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -67,16 +70,22 @@
<p id="n1" class="pln"><a href="#n1">1</a></p>
<p id="n2" class="pln"><a href="#n2">2</a></p>
<p id="n3" class="pln"><a href="#n3">3</a></p>
-<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
-<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
+<p id="n4" class="pln"><a href="#n4">4</a></p>
+<p id="n5" class="pln"><a href="#n5">5</a></p>
+<p id="n6" class="pln"><a href="#n6">6</a></p>
+<p id="n7" class="stm run hide_run"><a href="#n7">7</a></p>
+<p id="n8" class="stm run hide_run"><a href="#n8">8</a></p>
</td>
<td class="text">
-<p id="t1" class="pln"><span class="com"># A python source file in another encoding.</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="pln"><span class="com"># -*- coding: iso8859-1 -*-</span><span class="strut">&nbsp;</span></p>
-<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t4" class="stm run hide_run"><span class="nam">math</span> <span class="op">=</span> <span class="str">&quot;3&#215;4 = 12, &#247;2 = 6&#177;0&quot;</span><span class="strut">&nbsp;</span></p>
-<p id="t5" class="stm run hide_run"><span class="key">assert</span> <span class="nam">len</span><span class="op">(</span><span class="nam">math</span><span class="op">)</span> <span class="op">==</span> <span class="num">18</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># -*- coding: iso8859-1 -*-</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t4" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t5" class="pln"><span class="com"># A Python source file in another encoding.</span><span class="strut">&nbsp;</span></p>
+<p id="t6" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t7" class="stm run hide_run"><span class="nam">math</span> <span class="op">=</span> <span class="str">&quot;3&#215;4 = 12, &#247;2 = 6&#177;0&quot;</span><span class="strut">&nbsp;</span></p>
+<p id="t8" class="stm run hide_run"><span class="key">assert</span> <span class="nam">len</span><span class="op">(</span><span class="nam">math</span><span class="op">)</span> <span class="op">==</span> <span class="num">18</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -86,7 +95,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_1/index.html b/tests/farm/html/gold_omit_1/index.html
index 856b6fe..95ec804 100644
--- a/tests/farm/html/gold_omit_1/index.html
+++ b/tests/farm/html/gold_omit_1/index.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -72,7 +75,7 @@
<tbody>
<tr class="file">
- <td class="name left"><a href="m1.html">m1</a></td>
+ <td class="name left"><a href="m1_py.html">m1.py</a></td>
<td>2</td>
<td>0</td>
<td>0</td>
@@ -81,7 +84,7 @@
</tr>
<tr class="file">
- <td class="name left"><a href="m2.html">m2</a></td>
+ <td class="name left"><a href="m2_py.html">m2.py</a></td>
<td>2</td>
<td>0</td>
<td>0</td>
@@ -90,7 +93,7 @@
</tr>
<tr class="file">
- <td class="name left"><a href="m3.html">m3</a></td>
+ <td class="name left"><a href="m3_py.html">m3.py</a></td>
<td>2</td>
<td>0</td>
<td>0</td>
@@ -99,7 +102,7 @@
</tr>
<tr class="file">
- <td class="name left"><a href="main.html">main</a></td>
+ <td class="name left"><a href="main_py.html">main.py</a></td>
<td>8</td>
<td>0</td>
<td>0</td>
@@ -118,7 +121,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:31
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_1/m1_py.html b/tests/farm/html/gold_omit_1/m1_py.html
index 1ffcf08..8df0bf5 100644
--- a/tests/farm/html/gold_omit_1/m1_py.html
+++ b/tests/farm/html/gold_omit_1/m1_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for m1: 100%</title>
+ <title>Coverage for m1.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>m1</b> :
+ <h1>Coverage for <b>m1.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -64,13 +67,19 @@
<table>
<tr>
<td class="linenos">
-<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p>
-<p id="n2" class="stm run hide_run"><a href="#n2">2</a></p>
+<p id="n1" class="pln"><a href="#n1">1</a></p>
+<p id="n2" class="pln"><a href="#n2">2</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
+<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
+<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
</td>
<td class="text">
-<p id="t1" class="stm run hide_run"><span class="nam">m1a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="stm run hide_run"><span class="nam">m1b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="stm run hide_run"><span class="nam">m1a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="stm run hide_run"><span class="nam">m1b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -80,7 +89,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_1/m2_py.html b/tests/farm/html/gold_omit_1/m2_py.html
index 40cb0a3..2a7f13f 100644
--- a/tests/farm/html/gold_omit_1/m2_py.html
+++ b/tests/farm/html/gold_omit_1/m2_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for m2: 100%</title>
+ <title>Coverage for m2.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>m2</b> :
+ <h1>Coverage for <b>m2.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -64,13 +67,19 @@
<table>
<tr>
<td class="linenos">
-<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p>
-<p id="n2" class="stm run hide_run"><a href="#n2">2</a></p>
+<p id="n1" class="pln"><a href="#n1">1</a></p>
+<p id="n2" class="pln"><a href="#n2">2</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
+<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
+<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
</td>
<td class="text">
-<p id="t1" class="stm run hide_run"><span class="nam">m2a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="stm run hide_run"><span class="nam">m2b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="stm run hide_run"><span class="nam">m2a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="stm run hide_run"><span class="nam">m2b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -80,7 +89,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_1/m3_py.html b/tests/farm/html/gold_omit_1/m3_py.html
index 35cb816..b372a96 100644
--- a/tests/farm/html/gold_omit_1/m3_py.html
+++ b/tests/farm/html/gold_omit_1/m3_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for m3: 100%</title>
+ <title>Coverage for m3.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>m3</b> :
+ <h1>Coverage for <b>m3.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -64,13 +67,19 @@
<table>
<tr>
<td class="linenos">
-<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p>
-<p id="n2" class="stm run hide_run"><a href="#n2">2</a></p>
+<p id="n1" class="pln"><a href="#n1">1</a></p>
+<p id="n2" class="pln"><a href="#n2">2</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
+<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
+<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
</td>
<td class="text">
-<p id="t1" class="stm run hide_run"><span class="nam">m3a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="stm run hide_run"><span class="nam">m3b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="stm run hide_run"><span class="nam">m3a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="stm run hide_run"><span class="nam">m3b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -80,7 +89,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_1/main_py.html b/tests/farm/html/gold_omit_1/main_py.html
index 01655f5..ba6e968 100644
--- a/tests/farm/html/gold_omit_1/main_py.html
+++ b/tests/farm/html/gold_omit_1/main_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for main: 100%</title>
+ <title>Coverage for main.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>main</b> :
+ <h1>Coverage for <b>main.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -64,29 +67,35 @@
<table>
<tr>
<td class="linenos">
-<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p>
-<p id="n2" class="stm run hide_run"><a href="#n2">2</a></p>
-<p id="n3" class="stm run hide_run"><a href="#n3">3</a></p>
-<p id="n4" class="pln"><a href="#n4">4</a></p>
+<p id="n1" class="pln"><a href="#n1">1</a></p>
+<p id="n2" class="pln"><a href="#n2">2</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
+<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
<p id="n6" class="stm run hide_run"><a href="#n6">6</a></p>
<p id="n7" class="pln"><a href="#n7">7</a></p>
<p id="n8" class="stm run hide_run"><a href="#n8">8</a></p>
<p id="n9" class="stm run hide_run"><a href="#n9">9</a></p>
-<p id="n10" class="stm run hide_run"><a href="#n10">10</a></p>
+<p id="n10" class="pln"><a href="#n10">10</a></p>
+<p id="n11" class="stm run hide_run"><a href="#n11">11</a></p>
+<p id="n12" class="stm run hide_run"><a href="#n12">12</a></p>
+<p id="n13" class="stm run hide_run"><a href="#n13">13</a></p>
</td>
<td class="text">
-<p id="t1" class="stm run hide_run"><span class="key">import</span> <span class="nam">m1</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="stm run hide_run"><span class="key">import</span> <span class="nam">m2</span><span class="strut">&nbsp;</span></p>
-<p id="t3" class="stm run hide_run"><span class="key">import</span> <span class="nam">m3</span><span class="strut">&nbsp;</span></p>
-<p id="t4" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t5" class="stm run hide_run"><span class="nam">a</span> <span class="op">=</span> <span class="num">5</span><span class="strut">&nbsp;</span></p>
-<p id="t6" class="stm run hide_run"><span class="nam">b</span> <span class="op">=</span> <span class="num">6</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="stm run hide_run"><span class="key">import</span> <span class="nam">m1</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="stm run hide_run"><span class="key">import</span> <span class="nam">m2</span><span class="strut">&nbsp;</span></p>
+<p id="t6" class="stm run hide_run"><span class="key">import</span> <span class="nam">m3</span><span class="strut">&nbsp;</span></p>
<p id="t7" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t8" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m1</span><span class="op">.</span><span class="nam">m1a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t9" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m2</span><span class="op">.</span><span class="nam">m2a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t10" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m3</span><span class="op">.</span><span class="nam">m3a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t8" class="stm run hide_run"><span class="nam">a</span> <span class="op">=</span> <span class="num">5</span><span class="strut">&nbsp;</span></p>
+<p id="t9" class="stm run hide_run"><span class="nam">b</span> <span class="op">=</span> <span class="num">6</span><span class="strut">&nbsp;</span></p>
+<p id="t10" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t11" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m1</span><span class="op">.</span><span class="nam">m1a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t12" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m2</span><span class="op">.</span><span class="nam">m2a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t13" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m3</span><span class="op">.</span><span class="nam">m3a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -96,7 +105,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_2/index.html b/tests/farm/html/gold_omit_2/index.html
index f166fe1..fc78112 100644
--- a/tests/farm/html/gold_omit_2/index.html
+++ b/tests/farm/html/gold_omit_2/index.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -72,7 +75,7 @@
<tbody>
<tr class="file">
- <td class="name left"><a href="m2.html">m2</a></td>
+ <td class="name left"><a href="m2_py.html">m2.py</a></td>
<td>2</td>
<td>0</td>
<td>0</td>
@@ -81,7 +84,7 @@
</tr>
<tr class="file">
- <td class="name left"><a href="m3.html">m3</a></td>
+ <td class="name left"><a href="m3_py.html">m3.py</a></td>
<td>2</td>
<td>0</td>
<td>0</td>
@@ -90,7 +93,7 @@
</tr>
<tr class="file">
- <td class="name left"><a href="main.html">main</a></td>
+ <td class="name left"><a href="main_py.html">main.py</a></td>
<td>8</td>
<td>0</td>
<td>0</td>
@@ -109,7 +112,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:31
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_2/m2_py.html b/tests/farm/html/gold_omit_2/m2_py.html
index 40cb0a3..2a7f13f 100644
--- a/tests/farm/html/gold_omit_2/m2_py.html
+++ b/tests/farm/html/gold_omit_2/m2_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for m2: 100%</title>
+ <title>Coverage for m2.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>m2</b> :
+ <h1>Coverage for <b>m2.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -64,13 +67,19 @@
<table>
<tr>
<td class="linenos">
-<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p>
-<p id="n2" class="stm run hide_run"><a href="#n2">2</a></p>
+<p id="n1" class="pln"><a href="#n1">1</a></p>
+<p id="n2" class="pln"><a href="#n2">2</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
+<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
+<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
</td>
<td class="text">
-<p id="t1" class="stm run hide_run"><span class="nam">m2a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="stm run hide_run"><span class="nam">m2b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="stm run hide_run"><span class="nam">m2a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="stm run hide_run"><span class="nam">m2b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -80,7 +89,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_2/m3_py.html b/tests/farm/html/gold_omit_2/m3_py.html
index 35cb816..b372a96 100644
--- a/tests/farm/html/gold_omit_2/m3_py.html
+++ b/tests/farm/html/gold_omit_2/m3_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for m3: 100%</title>
+ <title>Coverage for m3.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>m3</b> :
+ <h1>Coverage for <b>m3.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -64,13 +67,19 @@
<table>
<tr>
<td class="linenos">
-<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p>
-<p id="n2" class="stm run hide_run"><a href="#n2">2</a></p>
+<p id="n1" class="pln"><a href="#n1">1</a></p>
+<p id="n2" class="pln"><a href="#n2">2</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
+<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
+<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
</td>
<td class="text">
-<p id="t1" class="stm run hide_run"><span class="nam">m3a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="stm run hide_run"><span class="nam">m3b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="stm run hide_run"><span class="nam">m3a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="stm run hide_run"><span class="nam">m3b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -80,7 +89,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_2/main_py.html b/tests/farm/html/gold_omit_2/main_py.html
index 01655f5..ba6e968 100644
--- a/tests/farm/html/gold_omit_2/main_py.html
+++ b/tests/farm/html/gold_omit_2/main_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for main: 100%</title>
+ <title>Coverage for main.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>main</b> :
+ <h1>Coverage for <b>main.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -64,29 +67,35 @@
<table>
<tr>
<td class="linenos">
-<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p>
-<p id="n2" class="stm run hide_run"><a href="#n2">2</a></p>
-<p id="n3" class="stm run hide_run"><a href="#n3">3</a></p>
-<p id="n4" class="pln"><a href="#n4">4</a></p>
+<p id="n1" class="pln"><a href="#n1">1</a></p>
+<p id="n2" class="pln"><a href="#n2">2</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
+<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
<p id="n6" class="stm run hide_run"><a href="#n6">6</a></p>
<p id="n7" class="pln"><a href="#n7">7</a></p>
<p id="n8" class="stm run hide_run"><a href="#n8">8</a></p>
<p id="n9" class="stm run hide_run"><a href="#n9">9</a></p>
-<p id="n10" class="stm run hide_run"><a href="#n10">10</a></p>
+<p id="n10" class="pln"><a href="#n10">10</a></p>
+<p id="n11" class="stm run hide_run"><a href="#n11">11</a></p>
+<p id="n12" class="stm run hide_run"><a href="#n12">12</a></p>
+<p id="n13" class="stm run hide_run"><a href="#n13">13</a></p>
</td>
<td class="text">
-<p id="t1" class="stm run hide_run"><span class="key">import</span> <span class="nam">m1</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="stm run hide_run"><span class="key">import</span> <span class="nam">m2</span><span class="strut">&nbsp;</span></p>
-<p id="t3" class="stm run hide_run"><span class="key">import</span> <span class="nam">m3</span><span class="strut">&nbsp;</span></p>
-<p id="t4" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t5" class="stm run hide_run"><span class="nam">a</span> <span class="op">=</span> <span class="num">5</span><span class="strut">&nbsp;</span></p>
-<p id="t6" class="stm run hide_run"><span class="nam">b</span> <span class="op">=</span> <span class="num">6</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="stm run hide_run"><span class="key">import</span> <span class="nam">m1</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="stm run hide_run"><span class="key">import</span> <span class="nam">m2</span><span class="strut">&nbsp;</span></p>
+<p id="t6" class="stm run hide_run"><span class="key">import</span> <span class="nam">m3</span><span class="strut">&nbsp;</span></p>
<p id="t7" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t8" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m1</span><span class="op">.</span><span class="nam">m1a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t9" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m2</span><span class="op">.</span><span class="nam">m2a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t10" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m3</span><span class="op">.</span><span class="nam">m3a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t8" class="stm run hide_run"><span class="nam">a</span> <span class="op">=</span> <span class="num">5</span><span class="strut">&nbsp;</span></p>
+<p id="t9" class="stm run hide_run"><span class="nam">b</span> <span class="op">=</span> <span class="num">6</span><span class="strut">&nbsp;</span></p>
+<p id="t10" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t11" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m1</span><span class="op">.</span><span class="nam">m1a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t12" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m2</span><span class="op">.</span><span class="nam">m2a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t13" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m3</span><span class="op">.</span><span class="nam">m3a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -96,7 +105,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_3/index.html b/tests/farm/html/gold_omit_3/index.html
index 1c9f8d9..cc9e9ea 100644
--- a/tests/farm/html/gold_omit_3/index.html
+++ b/tests/farm/html/gold_omit_3/index.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -72,7 +75,7 @@
<tbody>
<tr class="file">
- <td class="name left"><a href="m3.html">m3</a></td>
+ <td class="name left"><a href="m3_py.html">m3.py</a></td>
<td>2</td>
<td>0</td>
<td>0</td>
@@ -81,7 +84,7 @@
</tr>
<tr class="file">
- <td class="name left"><a href="main.html">main</a></td>
+ <td class="name left"><a href="main_py.html">main.py</a></td>
<td>8</td>
<td>0</td>
<td>0</td>
@@ -100,7 +103,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:31
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_3/m3_py.html b/tests/farm/html/gold_omit_3/m3_py.html
index 35cb816..b372a96 100644
--- a/tests/farm/html/gold_omit_3/m3_py.html
+++ b/tests/farm/html/gold_omit_3/m3_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for m3: 100%</title>
+ <title>Coverage for m3.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>m3</b> :
+ <h1>Coverage for <b>m3.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -64,13 +67,19 @@
<table>
<tr>
<td class="linenos">
-<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p>
-<p id="n2" class="stm run hide_run"><a href="#n2">2</a></p>
+<p id="n1" class="pln"><a href="#n1">1</a></p>
+<p id="n2" class="pln"><a href="#n2">2</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
+<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
+<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
</td>
<td class="text">
-<p id="t1" class="stm run hide_run"><span class="nam">m3a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="stm run hide_run"><span class="nam">m3b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="stm run hide_run"><span class="nam">m3a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="stm run hide_run"><span class="nam">m3b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -80,7 +89,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_3/main_py.html b/tests/farm/html/gold_omit_3/main_py.html
index 01655f5..ba6e968 100644
--- a/tests/farm/html/gold_omit_3/main_py.html
+++ b/tests/farm/html/gold_omit_3/main_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for main: 100%</title>
+ <title>Coverage for main.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>main</b> :
+ <h1>Coverage for <b>main.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -64,29 +67,35 @@
<table>
<tr>
<td class="linenos">
-<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p>
-<p id="n2" class="stm run hide_run"><a href="#n2">2</a></p>
-<p id="n3" class="stm run hide_run"><a href="#n3">3</a></p>
-<p id="n4" class="pln"><a href="#n4">4</a></p>
+<p id="n1" class="pln"><a href="#n1">1</a></p>
+<p id="n2" class="pln"><a href="#n2">2</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
+<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
<p id="n6" class="stm run hide_run"><a href="#n6">6</a></p>
<p id="n7" class="pln"><a href="#n7">7</a></p>
<p id="n8" class="stm run hide_run"><a href="#n8">8</a></p>
<p id="n9" class="stm run hide_run"><a href="#n9">9</a></p>
-<p id="n10" class="stm run hide_run"><a href="#n10">10</a></p>
+<p id="n10" class="pln"><a href="#n10">10</a></p>
+<p id="n11" class="stm run hide_run"><a href="#n11">11</a></p>
+<p id="n12" class="stm run hide_run"><a href="#n12">12</a></p>
+<p id="n13" class="stm run hide_run"><a href="#n13">13</a></p>
</td>
<td class="text">
-<p id="t1" class="stm run hide_run"><span class="key">import</span> <span class="nam">m1</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="stm run hide_run"><span class="key">import</span> <span class="nam">m2</span><span class="strut">&nbsp;</span></p>
-<p id="t3" class="stm run hide_run"><span class="key">import</span> <span class="nam">m3</span><span class="strut">&nbsp;</span></p>
-<p id="t4" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t5" class="stm run hide_run"><span class="nam">a</span> <span class="op">=</span> <span class="num">5</span><span class="strut">&nbsp;</span></p>
-<p id="t6" class="stm run hide_run"><span class="nam">b</span> <span class="op">=</span> <span class="num">6</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="stm run hide_run"><span class="key">import</span> <span class="nam">m1</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="stm run hide_run"><span class="key">import</span> <span class="nam">m2</span><span class="strut">&nbsp;</span></p>
+<p id="t6" class="stm run hide_run"><span class="key">import</span> <span class="nam">m3</span><span class="strut">&nbsp;</span></p>
<p id="t7" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t8" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m1</span><span class="op">.</span><span class="nam">m1a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t9" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m2</span><span class="op">.</span><span class="nam">m2a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t10" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m3</span><span class="op">.</span><span class="nam">m3a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t8" class="stm run hide_run"><span class="nam">a</span> <span class="op">=</span> <span class="num">5</span><span class="strut">&nbsp;</span></p>
+<p id="t9" class="stm run hide_run"><span class="nam">b</span> <span class="op">=</span> <span class="num">6</span><span class="strut">&nbsp;</span></p>
+<p id="t10" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t11" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m1</span><span class="op">.</span><span class="nam">m1a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t12" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m2</span><span class="op">.</span><span class="nam">m2a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t13" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m3</span><span class="op">.</span><span class="nam">m3a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -96,7 +105,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_4/index.html b/tests/farm/html/gold_omit_4/index.html
index d4e89a3..c0289fd 100644
--- a/tests/farm/html/gold_omit_4/index.html
+++ b/tests/farm/html/gold_omit_4/index.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -72,7 +75,7 @@
<tbody>
<tr class="file">
- <td class="name left"><a href="m1.html">m1</a></td>
+ <td class="name left"><a href="m1_py.html">m1.py</a></td>
<td>2</td>
<td>0</td>
<td>0</td>
@@ -81,7 +84,7 @@
</tr>
<tr class="file">
- <td class="name left"><a href="m3.html">m3</a></td>
+ <td class="name left"><a href="m3_py.html">m3.py</a></td>
<td>2</td>
<td>0</td>
<td>0</td>
@@ -90,7 +93,7 @@
</tr>
<tr class="file">
- <td class="name left"><a href="main.html">main</a></td>
+ <td class="name left"><a href="main_py.html">main.py</a></td>
<td>8</td>
<td>0</td>
<td>0</td>
@@ -109,7 +112,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:31
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_4/m1_py.html b/tests/farm/html/gold_omit_4/m1_py.html
index 1ffcf08..8df0bf5 100644
--- a/tests/farm/html/gold_omit_4/m1_py.html
+++ b/tests/farm/html/gold_omit_4/m1_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for m1: 100%</title>
+ <title>Coverage for m1.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>m1</b> :
+ <h1>Coverage for <b>m1.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -64,13 +67,19 @@
<table>
<tr>
<td class="linenos">
-<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p>
-<p id="n2" class="stm run hide_run"><a href="#n2">2</a></p>
+<p id="n1" class="pln"><a href="#n1">1</a></p>
+<p id="n2" class="pln"><a href="#n2">2</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
+<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
+<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
</td>
<td class="text">
-<p id="t1" class="stm run hide_run"><span class="nam">m1a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="stm run hide_run"><span class="nam">m1b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="stm run hide_run"><span class="nam">m1a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="stm run hide_run"><span class="nam">m1b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -80,7 +89,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_4/m3_py.html b/tests/farm/html/gold_omit_4/m3_py.html
index 35cb816..b372a96 100644
--- a/tests/farm/html/gold_omit_4/m3_py.html
+++ b/tests/farm/html/gold_omit_4/m3_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for m3: 100%</title>
+ <title>Coverage for m3.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>m3</b> :
+ <h1>Coverage for <b>m3.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -64,13 +67,19 @@
<table>
<tr>
<td class="linenos">
-<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p>
-<p id="n2" class="stm run hide_run"><a href="#n2">2</a></p>
+<p id="n1" class="pln"><a href="#n1">1</a></p>
+<p id="n2" class="pln"><a href="#n2">2</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
+<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
+<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
</td>
<td class="text">
-<p id="t1" class="stm run hide_run"><span class="nam">m3a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="stm run hide_run"><span class="nam">m3b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="stm run hide_run"><span class="nam">m3a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="stm run hide_run"><span class="nam">m3b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -80,7 +89,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_4/main_py.html b/tests/farm/html/gold_omit_4/main_py.html
index 01655f5..ba6e968 100644
--- a/tests/farm/html/gold_omit_4/main_py.html
+++ b/tests/farm/html/gold_omit_4/main_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for main: 100%</title>
+ <title>Coverage for main.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>main</b> :
+ <h1>Coverage for <b>main.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -64,29 +67,35 @@
<table>
<tr>
<td class="linenos">
-<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p>
-<p id="n2" class="stm run hide_run"><a href="#n2">2</a></p>
-<p id="n3" class="stm run hide_run"><a href="#n3">3</a></p>
-<p id="n4" class="pln"><a href="#n4">4</a></p>
+<p id="n1" class="pln"><a href="#n1">1</a></p>
+<p id="n2" class="pln"><a href="#n2">2</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
+<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
<p id="n6" class="stm run hide_run"><a href="#n6">6</a></p>
<p id="n7" class="pln"><a href="#n7">7</a></p>
<p id="n8" class="stm run hide_run"><a href="#n8">8</a></p>
<p id="n9" class="stm run hide_run"><a href="#n9">9</a></p>
-<p id="n10" class="stm run hide_run"><a href="#n10">10</a></p>
+<p id="n10" class="pln"><a href="#n10">10</a></p>
+<p id="n11" class="stm run hide_run"><a href="#n11">11</a></p>
+<p id="n12" class="stm run hide_run"><a href="#n12">12</a></p>
+<p id="n13" class="stm run hide_run"><a href="#n13">13</a></p>
</td>
<td class="text">
-<p id="t1" class="stm run hide_run"><span class="key">import</span> <span class="nam">m1</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="stm run hide_run"><span class="key">import</span> <span class="nam">m2</span><span class="strut">&nbsp;</span></p>
-<p id="t3" class="stm run hide_run"><span class="key">import</span> <span class="nam">m3</span><span class="strut">&nbsp;</span></p>
-<p id="t4" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t5" class="stm run hide_run"><span class="nam">a</span> <span class="op">=</span> <span class="num">5</span><span class="strut">&nbsp;</span></p>
-<p id="t6" class="stm run hide_run"><span class="nam">b</span> <span class="op">=</span> <span class="num">6</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="stm run hide_run"><span class="key">import</span> <span class="nam">m1</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="stm run hide_run"><span class="key">import</span> <span class="nam">m2</span><span class="strut">&nbsp;</span></p>
+<p id="t6" class="stm run hide_run"><span class="key">import</span> <span class="nam">m3</span><span class="strut">&nbsp;</span></p>
<p id="t7" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t8" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m1</span><span class="op">.</span><span class="nam">m1a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t9" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m2</span><span class="op">.</span><span class="nam">m2a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t10" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m3</span><span class="op">.</span><span class="nam">m3a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t8" class="stm run hide_run"><span class="nam">a</span> <span class="op">=</span> <span class="num">5</span><span class="strut">&nbsp;</span></p>
+<p id="t9" class="stm run hide_run"><span class="nam">b</span> <span class="op">=</span> <span class="num">6</span><span class="strut">&nbsp;</span></p>
+<p id="t10" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t11" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m1</span><span class="op">.</span><span class="nam">m1a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t12" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m2</span><span class="op">.</span><span class="nam">m2a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t13" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m3</span><span class="op">.</span><span class="nam">m3a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -96,7 +105,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_5/index.html b/tests/farm/html/gold_omit_5/index.html
index 70bc068..5e9a241 100644
--- a/tests/farm/html/gold_omit_5/index.html
+++ b/tests/farm/html/gold_omit_5/index.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -72,7 +75,7 @@
<tbody>
<tr class="file">
- <td class="name left"><a href="m1.html">m1</a></td>
+ <td class="name left"><a href="m1_py.html">m1.py</a></td>
<td>2</td>
<td>0</td>
<td>0</td>
@@ -81,7 +84,7 @@
</tr>
<tr class="file">
- <td class="name left"><a href="main.html">main</a></td>
+ <td class="name left"><a href="main_py.html">main.py</a></td>
<td>8</td>
<td>0</td>
<td>0</td>
@@ -100,7 +103,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:31
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_5/m1_py.html b/tests/farm/html/gold_omit_5/m1_py.html
index 1ffcf08..8df0bf5 100644
--- a/tests/farm/html/gold_omit_5/m1_py.html
+++ b/tests/farm/html/gold_omit_5/m1_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for m1: 100%</title>
+ <title>Coverage for m1.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>m1</b> :
+ <h1>Coverage for <b>m1.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -64,13 +67,19 @@
<table>
<tr>
<td class="linenos">
-<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p>
-<p id="n2" class="stm run hide_run"><a href="#n2">2</a></p>
+<p id="n1" class="pln"><a href="#n1">1</a></p>
+<p id="n2" class="pln"><a href="#n2">2</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
+<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
+<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
</td>
<td class="text">
-<p id="t1" class="stm run hide_run"><span class="nam">m1a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="stm run hide_run"><span class="nam">m1b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="stm run hide_run"><span class="nam">m1a</span> <span class="op">=</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="stm run hide_run"><span class="nam">m1b</span> <span class="op">=</span> <span class="num">2</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -80,7 +89,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_omit_5/main_py.html b/tests/farm/html/gold_omit_5/main_py.html
index 01655f5..ba6e968 100644
--- a/tests/farm/html/gold_omit_5/main_py.html
+++ b/tests/farm/html/gold_omit_5/main_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for main: 100%</title>
+ <title>Coverage for main.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>main</b> :
+ <h1>Coverage for <b>main.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -64,29 +67,35 @@
<table>
<tr>
<td class="linenos">
-<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p>
-<p id="n2" class="stm run hide_run"><a href="#n2">2</a></p>
-<p id="n3" class="stm run hide_run"><a href="#n3">3</a></p>
-<p id="n4" class="pln"><a href="#n4">4</a></p>
+<p id="n1" class="pln"><a href="#n1">1</a></p>
+<p id="n2" class="pln"><a href="#n2">2</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
+<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
<p id="n6" class="stm run hide_run"><a href="#n6">6</a></p>
<p id="n7" class="pln"><a href="#n7">7</a></p>
<p id="n8" class="stm run hide_run"><a href="#n8">8</a></p>
<p id="n9" class="stm run hide_run"><a href="#n9">9</a></p>
-<p id="n10" class="stm run hide_run"><a href="#n10">10</a></p>
+<p id="n10" class="pln"><a href="#n10">10</a></p>
+<p id="n11" class="stm run hide_run"><a href="#n11">11</a></p>
+<p id="n12" class="stm run hide_run"><a href="#n12">12</a></p>
+<p id="n13" class="stm run hide_run"><a href="#n13">13</a></p>
</td>
<td class="text">
-<p id="t1" class="stm run hide_run"><span class="key">import</span> <span class="nam">m1</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="stm run hide_run"><span class="key">import</span> <span class="nam">m2</span><span class="strut">&nbsp;</span></p>
-<p id="t3" class="stm run hide_run"><span class="key">import</span> <span class="nam">m3</span><span class="strut">&nbsp;</span></p>
-<p id="t4" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t5" class="stm run hide_run"><span class="nam">a</span> <span class="op">=</span> <span class="num">5</span><span class="strut">&nbsp;</span></p>
-<p id="t6" class="stm run hide_run"><span class="nam">b</span> <span class="op">=</span> <span class="num">6</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="stm run hide_run"><span class="key">import</span> <span class="nam">m1</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="stm run hide_run"><span class="key">import</span> <span class="nam">m2</span><span class="strut">&nbsp;</span></p>
+<p id="t6" class="stm run hide_run"><span class="key">import</span> <span class="nam">m3</span><span class="strut">&nbsp;</span></p>
<p id="t7" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t8" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m1</span><span class="op">.</span><span class="nam">m1a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t9" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m2</span><span class="op">.</span><span class="nam">m2a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
-<p id="t10" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m3</span><span class="op">.</span><span class="nam">m3a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t8" class="stm run hide_run"><span class="nam">a</span> <span class="op">=</span> <span class="num">5</span><span class="strut">&nbsp;</span></p>
+<p id="t9" class="stm run hide_run"><span class="nam">b</span> <span class="op">=</span> <span class="num">6</span><span class="strut">&nbsp;</span></p>
+<p id="t10" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t11" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m1</span><span class="op">.</span><span class="nam">m1a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t12" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m2</span><span class="op">.</span><span class="nam">m2a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
+<p id="t13" class="stm run hide_run"><span class="key">assert</span> <span class="nam">m3</span><span class="op">.</span><span class="nam">m3a</span> <span class="op">==</span> <span class="num">1</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -96,7 +105,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_other/blah_blah_other_py.html b/tests/farm/html/gold_other/blah_blah_other_py.html
index 6db673f..51b7708 100644
--- a/tests/farm/html/gold_other/blah_blah_other_py.html
+++ b/tests/farm/html/gold_other/blah_blah_other_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for /Users/ned/coverage/trunk/tests/farm/html/othersrc/other: 100%</title>
+ <title>Coverage for /Users/ned/coverage/trunk/tests/farm/html/othersrc/other.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>/Users/ned/coverage/trunk/tests/farm/html/othersrc/other</b> :
+ <h1>Coverage for <b>/Users/ned/coverage/trunk/tests/farm/html/othersrc/other.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -67,14 +70,20 @@
<p id="n1" class="pln"><a href="#n1">1</a></p>
<p id="n2" class="pln"><a href="#n2">2</a></p>
<p id="n3" class="pln"><a href="#n3">3</a></p>
-<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
+<p id="n4" class="pln"><a href="#n4">4</a></p>
+<p id="n5" class="pln"><a href="#n5">5</a></p>
+<p id="n6" class="pln"><a href="#n6">6</a></p>
+<p id="n7" class="stm run hide_run"><a href="#n7">7</a></p>
</td>
<td class="text">
-<p id="t1" class="pln"><span class="com"># A file in another directory.&nbsp; We&#39;re checking that it ends up in the</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="pln"><span class="com"># HTML report.</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t4" class="stm run hide_run"><span class="key">print</span><span class="op">(</span><span class="str">&quot;This is the other src!&quot;</span><span class="op">)</span><span class="strut">&nbsp;</span></p>
+<p id="t4" class="pln"><span class="com"># A file in another directory.&nbsp; We&#39;re checking that it ends up in the</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="pln"><span class="com"># HTML report.</span><span class="strut">&nbsp;</span></p>
+<p id="t6" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t7" class="stm run hide_run"><span class="key">print</span><span class="op">(</span><span class="str">&quot;This is the other src!&quot;</span><span class="op">)</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -84,7 +93,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_other/here_py.html b/tests/farm/html/gold_other/here_py.html
index 68badbe..36310f5 100644
--- a/tests/farm/html/gold_other/here_py.html
+++ b/tests/farm/html/gold_other/here_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for here: 75%</title>
+ <title>Coverage for here.py: 75%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>here</b> :
+ <h1>Coverage for <b>here.py</b> :
<span class="pc_cov">75%</span>
</h1>
@@ -66,23 +69,29 @@
<td class="linenos">
<p id="n1" class="pln"><a href="#n1">1</a></p>
<p id="n2" class="pln"><a href="#n2">2</a></p>
-<p id="n3" class="stm run hide_run"><a href="#n3">3</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
<p id="n4" class="pln"><a href="#n4">4</a></p>
-<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
+<p id="n5" class="pln"><a href="#n5">5</a></p>
<p id="n6" class="stm run hide_run"><a href="#n6">6</a></p>
<p id="n7" class="pln"><a href="#n7">7</a></p>
-<p id="n8" class="stm mis"><a href="#n8">8</a></p>
+<p id="n8" class="stm run hide_run"><a href="#n8">8</a></p>
+<p id="n9" class="stm run hide_run"><a href="#n9">9</a></p>
+<p id="n10" class="pln"><a href="#n10">10</a></p>
+<p id="n11" class="stm mis"><a href="#n11">11</a></p>
</td>
<td class="text">
-<p id="t1" class="pln"><span class="com"># A test file for HTML reporting by coverage.py.</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t3" class="stm run hide_run"><span class="key">import</span> <span class="nam">other</span><span class="strut">&nbsp;</span></p>
-<p id="t4" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t5" class="stm run hide_run"><span class="key">if</span> <span class="num">1</span> <span class="op">&lt;</span> <span class="num">2</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t6" class="stm run hide_run">&nbsp; &nbsp; <span class="nam">h</span> <span class="op">=</span> <span class="num">3</span><span class="strut">&nbsp;</span></p>
-<p id="t7" class="pln"><span class="key">else</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t8" class="stm mis">&nbsp; &nbsp; <span class="nam">h</span> <span class="op">=</span> <span class="num">4</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="pln"><span class="com"># A test file for HTML reporting by coverage.py.</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t6" class="stm run hide_run"><span class="key">import</span> <span class="nam">other</span><span class="strut">&nbsp;</span></p>
+<p id="t7" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t8" class="stm run hide_run"><span class="key">if</span> <span class="num">1</span> <span class="op">&lt;</span> <span class="num">2</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t9" class="stm run hide_run">&nbsp; &nbsp; <span class="nam">h</span> <span class="op">=</span> <span class="num">3</span><span class="strut">&nbsp;</span></p>
+<p id="t10" class="pln"><span class="key">else</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t11" class="stm mis">&nbsp; &nbsp; <span class="nam">h</span> <span class="op">=</span> <span class="num">4</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -92,7 +101,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_other/index.html b/tests/farm/html/gold_other/index.html
index 35cf43c..25d437e 100644
--- a/tests/farm/html/gold_other/index.html
+++ b/tests/farm/html/gold_other/index.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -72,7 +75,7 @@
<tbody>
<tr class="file">
- <td class="name left"><a href="_Users_ned_coverage_trunk_tests_farm_html_othersrc_other.html">/Users/ned/coverage/trunk/tests/farm/html/othersrc/other</a></td>
+ <td class="name left"><a href="_Users_ned_coverage_trunk_tests_farm_html_othersrc_other_py.html">/Users/ned/coverage/trunk/tests/farm/html/othersrc/other.py</a></td>
<td>1</td>
<td>0</td>
<td>0</td>
@@ -81,7 +84,7 @@
</tr>
<tr class="file">
- <td class="name left"><a href="here.html">here</a></td>
+ <td class="name left"><a href="here_py.html">here.py</a></td>
<td>4</td>
<td>1</td>
<td>0</td>
@@ -100,7 +103,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:31
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_partial/index.html b/tests/farm/html/gold_partial/index.html
index f09633c..506d80d 100644
--- a/tests/farm/html/gold_partial/index.html
+++ b/tests/farm/html/gold_partial/index.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -81,7 +84,7 @@
<tbody>
<tr class="file">
- <td class="name left"><a href="partial.html">partial</a></td>
+ <td class="name left"><a href="partial_py.html">partial.py</a></td>
<td>8</td>
<td>0</td>
<td>0</td>
@@ -103,7 +106,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:31
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_partial/partial_py.html b/tests/farm/html/gold_partial/partial_py.html
index 12c885a..53997f5 100644
--- a/tests/farm/html/gold_partial/partial_py.html
+++ b/tests/farm/html/gold_partial/partial_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for partial: 100%</title>
+ <title>Coverage for partial.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>partial</b> :
+ <h1>Coverage for <b>partial.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -68,9 +71,9 @@
<td class="linenos">
<p id="n1" class="pln"><a href="#n1">1</a></p>
<p id="n2" class="pln"><a href="#n2">2</a></p>
-<p id="n3" class="stm run hide_run"><a href="#n3">3</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
<p id="n4" class="pln"><a href="#n4">4</a></p>
-<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
+<p id="n5" class="pln"><a href="#n5">5</a></p>
<p id="n6" class="stm run hide_run"><a href="#n6">6</a></p>
<p id="n7" class="pln"><a href="#n7">7</a></p>
<p id="n8" class="stm run hide_run"><a href="#n8">8</a></p>
@@ -79,32 +82,38 @@
<p id="n11" class="stm run hide_run"><a href="#n11">11</a></p>
<p id="n12" class="stm run hide_run"><a href="#n12">12</a></p>
<p id="n13" class="pln"><a href="#n13">13</a></p>
-<p id="n14" class="pln"><a href="#n14">14</a></p>
-<p id="n15" class="pln"><a href="#n15">15</a></p>
+<p id="n14" class="stm run hide_run"><a href="#n14">14</a></p>
+<p id="n15" class="stm run hide_run"><a href="#n15">15</a></p>
<p id="n16" class="pln"><a href="#n16">16</a></p>
<p id="n17" class="pln"><a href="#n17">17</a></p>
-<p id="n18" class="stm run hide_run"><a href="#n18">18</a></p>
+<p id="n18" class="pln"><a href="#n18">18</a></p>
+<p id="n19" class="pln"><a href="#n19">19</a></p>
+<p id="n20" class="pln"><a href="#n20">20</a></p>
+<p id="n21" class="stm run hide_run"><a href="#n21">21</a></p>
</td>
<td class="text">
-<p id="t1" class="pln"><span class="com"># partial branches</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t3" class="stm run hide_run"><span class="nam">a</span> <span class="op">=</span> <span class="num">3</span><span class="strut">&nbsp;</span></p>
-<p id="t4" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t5" class="stm run hide_run"><span class="key">while</span> <span class="nam">True</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t6" class="stm run hide_run">&nbsp; &nbsp; <span class="key">break</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="pln"><span class="com"># partial branches</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t6" class="stm run hide_run"><span class="nam">a</span> <span class="op">=</span> <span class="num">3</span><span class="strut">&nbsp;</span></p>
<p id="t7" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t8" class="stm run hide_run"><span class="key">while</span> <span class="num">1</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t8" class="stm run hide_run"><span class="key">while</span> <span class="nam">True</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
<p id="t9" class="stm run hide_run">&nbsp; &nbsp; <span class="key">break</span><span class="strut">&nbsp;</span></p>
<p id="t10" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t11" class="stm run hide_run"><span class="key">while</span> <span class="nam">a</span><span class="op">:</span>&nbsp; &nbsp; &nbsp; &nbsp; <span class="com"># pragma: no branch</span><span class="strut">&nbsp;</span></p>
+<p id="t11" class="stm run hide_run"><span class="key">while</span> <span class="num">1</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
<p id="t12" class="stm run hide_run">&nbsp; &nbsp; <span class="key">break</span><span class="strut">&nbsp;</span></p>
<p id="t13" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t14" class="pln"><span class="key">if</span> <span class="num">0</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t15" class="pln">&nbsp; &nbsp; <span class="nam">never_happen</span><span class="op">(</span><span class="op">)</span><span class="strut">&nbsp;</span></p>
+<p id="t14" class="stm run hide_run"><span class="key">while</span> <span class="nam">a</span><span class="op">:</span>&nbsp; &nbsp; &nbsp; &nbsp; <span class="com"># pragma: no branch</span><span class="strut">&nbsp;</span></p>
+<p id="t15" class="stm run hide_run">&nbsp; &nbsp; <span class="key">break</span><span class="strut">&nbsp;</span></p>
<p id="t16" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t17" class="pln"><span class="key">if</span> <span class="num">1</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t18" class="stm run hide_run">&nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">13</span><span class="strut">&nbsp;</span></p>
+<p id="t17" class="pln"><span class="key">if</span> <span class="num">0</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t18" class="pln">&nbsp; &nbsp; <span class="nam">never_happen</span><span class="op">(</span><span class="op">)</span><span class="strut">&nbsp;</span></p>
+<p id="t19" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t20" class="pln"><span class="key">if</span> <span class="num">1</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t21" class="stm run hide_run">&nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">13</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -114,7 +123,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_styled/a_py.html b/tests/farm/html/gold_styled/a_py.html
index bc2f7c3..890a826 100644
--- a/tests/farm/html/gold_styled/a_py.html
+++ b/tests/farm/html/gold_styled/a_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for a: 67%</title>
+ <title>Coverage for a.py: 67%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="stylesheet" href="extra.css" type="text/css">
@@ -22,7 +25,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>a</b> :
+ <h1>Coverage for <b>a.py</b> :
<span class="pc_cov">67%</span>
</h1>
@@ -68,21 +71,27 @@
<td class="linenos">
<p id="n1" class="pln"><a href="#n1">1</a></p>
<p id="n2" class="pln"><a href="#n2">2</a></p>
-<p id="n3" class="stm run hide_run"><a href="#n3">3</a></p>
+<p id="n3" class="pln"><a href="#n3">3</a></p>
<p id="n4" class="pln"><a href="#n4">4</a></p>
-<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
-<p id="n6" class="pln"><a href="#n6">6</a></p>
-<p id="n7" class="stm mis"><a href="#n7">7</a></p>
+<p id="n5" class="pln"><a href="#n5">5</a></p>
+<p id="n6" class="stm run hide_run"><a href="#n6">6</a></p>
+<p id="n7" class="pln"><a href="#n7">7</a></p>
+<p id="n8" class="stm run hide_run"><a href="#n8">8</a></p>
+<p id="n9" class="pln"><a href="#n9">9</a></p>
+<p id="n10" class="stm mis"><a href="#n10">10</a></p>
</td>
<td class="text">
-<p id="t1" class="pln"><span class="com"># A test file for HTML reporting by coverage.py.</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t3" class="stm run hide_run"><span class="key">if</span> <span class="num">1</span> <span class="op">&lt;</span> <span class="num">2</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t4" class="pln">&nbsp; &nbsp; <span class="com"># Needed a &lt; to look at HTML entities.</span><span class="strut">&nbsp;</span></p>
-<p id="t5" class="stm run hide_run">&nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">3</span><span class="strut">&nbsp;</span></p>
-<p id="t6" class="pln"><span class="key">else</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
-<p id="t7" class="stm mis">&nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">4</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t4" class="pln"><span class="com"># A test file for HTML reporting by coverage.py.</span><span class="strut">&nbsp;</span></p>
+<p id="t5" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t6" class="stm run hide_run"><span class="key">if</span> <span class="num">1</span> <span class="op">&lt;</span> <span class="num">2</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t7" class="pln">&nbsp; &nbsp; <span class="com"># Needed a &lt; to look at HTML entities.</span><span class="strut">&nbsp;</span></p>
+<p id="t8" class="stm run hide_run">&nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">3</span><span class="strut">&nbsp;</span></p>
+<p id="t9" class="pln"><span class="key">else</span><span class="op">:</span><span class="strut">&nbsp;</span></p>
+<p id="t10" class="stm mis">&nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">4</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -92,7 +101,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_styled/index.html b/tests/farm/html/gold_styled/index.html
index 631c096..7209b64 100644
--- a/tests/farm/html/gold_styled/index.html
+++ b/tests/farm/html/gold_styled/index.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -74,7 +77,7 @@
<tbody>
<tr class="file">
- <td class="name left"><a href="a.html">a</a></td>
+ <td class="name left"><a href="a_py.html">a.py</a></td>
<td>3</td>
<td>1</td>
<td>0</td>
@@ -93,7 +96,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:31
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_styled/style.css b/tests/farm/html/gold_styled/style.css
index 038335c..2dfb8f6 100644
--- a/tests/farm/html/gold_styled/style.css
+++ b/tests/farm/html/gold_styled/style.css
@@ -1,4 +1,7 @@
-/* CSS styles for Coverage. */
+/* Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 */
+/* For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt */
+
+/* CSS styles for coverage.py. */
/* Page-wide styles */
html, body, h1, h2, h3, p, table, td, th {
margin: 0;
diff --git a/tests/farm/html/gold_unicode/index.html b/tests/farm/html/gold_unicode/index.html
index 9d4fd41..5852952 100644
--- a/tests/farm/html/gold_unicode/index.html
+++ b/tests/farm/html/gold_unicode/index.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -72,7 +75,7 @@
<tbody>
<tr class="file">
- <td class="name left"><a href="unicode.html">unicode</a></td>
+ <td class="name left"><a href="unicode_py.html">unicode.py</a></td>
<td>2</td>
<td>0</td>
<td>0</td>
@@ -91,7 +94,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:31
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_unicode/unicode_py.html b/tests/farm/html/gold_unicode/unicode_py.html
index 0811932..d0d58af 100644
--- a/tests/farm/html/gold_unicode/unicode_py.html
+++ b/tests/farm/html/gold_unicode/unicode_py.html
@@ -1,3 +1,6 @@
+
+
+
<!DOCTYPE html>
<html>
<head>
@@ -5,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
- <title>Coverage for unicode: 100%</title>
+ <title>Coverage for unicode.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
@@ -20,7 +23,7 @@
<div id="header">
<div class="content">
- <h1>Coverage for <b>unicode</b> :
+ <h1>Coverage for <b>unicode.py</b> :
<span class="pc_cov">100%</span>
</h1>
@@ -67,16 +70,22 @@
<p id="n1" class="pln"><a href="#n1">1</a></p>
<p id="n2" class="pln"><a href="#n2">2</a></p>
<p id="n3" class="pln"><a href="#n3">3</a></p>
-<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
-<p id="n5" class="stm run hide_run"><a href="#n5">5</a></p>
+<p id="n4" class="pln"><a href="#n4">4</a></p>
+<p id="n5" class="pln"><a href="#n5">5</a></p>
+<p id="n6" class="pln"><a href="#n6">6</a></p>
+<p id="n7" class="stm run hide_run"><a href="#n7">7</a></p>
+<p id="n8" class="stm run hide_run"><a href="#n8">8</a></p>
</td>
<td class="text">
-<p id="t1" class="pln"><span class="com"># A python source file with exotic characters</span><span class="strut">&nbsp;</span></p>
-<p id="t2" class="pln"><span class="com"># -*- coding: utf-8 -*-</span><span class="strut">&nbsp;</span></p>
-<p id="t3" class="pln"><span class="strut">&nbsp;</span></p>
-<p id="t4" class="stm run hide_run"><span class="nam">upside_down</span> <span class="op">=</span> <span class="str">&quot;&#654;d&#729;&#477;b&#592;&#633;&#477;&#652;o&#596;&quot;</span><span class="strut">&nbsp;</span></p>
-<p id="t5" class="stm run hide_run"><span class="nam">surrogate</span> <span class="op">=</span> <span class="str">&quot;db40,dd00: x&#917760;&quot;</span><span class="strut">&nbsp;</span></p>
+<p id="t1" class="pln"><span class="com"># -*- coding: utf-8 -*-</span><span class="strut">&nbsp;</span></p>
+<p id="t2" class="pln"><span class="com"># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0</span><span class="strut">&nbsp;</span></p>
+<p id="t3" class="pln"><span class="com"># For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt</span><span class="strut">&nbsp;</span></p>
+<p id="t4" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t5" class="pln"><span class="com"># A Python source file with exotic characters.</span><span class="strut">&nbsp;</span></p>
+<p id="t6" class="pln"><span class="strut">&nbsp;</span></p>
+<p id="t7" class="stm run hide_run"><span class="nam">upside_down</span> <span class="op">=</span> <span class="str">&quot;&#654;d&#729;&#477;b&#592;&#633;&#477;&#652;o&#596;&quot;</span><span class="strut">&nbsp;</span></p>
+<p id="t8" class="stm run hide_run"><span class="nam">surrogate</span> <span class="op">=</span> <span class="str">&quot;db40,dd00: x&#917760;&quot;</span><span class="strut">&nbsp;</span></p>
</td>
</tr>
@@ -86,7 +95,8 @@
<div id="footer">
<div class="content">
<p>
- <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="http://nedbatchelder.com/code/coverage/4.0a1">coverage.py v4.0a1</a>
+ <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.org/en/coverage-4.0a7">coverage.py v4.0a7</a>,
+ created at 2015-07-24 09:04
</p>
</div>
</div>
diff --git a/tests/farm/html/gold_x_xml/coverage.xml b/tests/farm/html/gold_x_xml/coverage.xml
index 075655d..487e850 100644
--- a/tests/farm/html/gold_x_xml/coverage.xml
+++ b/tests/farm/html/gold_x_xml/coverage.xml
@@ -1,22 +1,22 @@
-<?xml version="1.0" ?>
-<coverage branch-rate="0" line-rate="0.6667" timestamp="1253972570431" version="3.1b1">
- <!-- Generated by coverage.py: https://coverage.readthedocs.org/VER -->
- <!-- Based on https://raw.githubusercontent.com/cobertura/web/f0366e5e2cf18f111cbd61fc34ef720a6584ba02/htdocs/xml/coverage-03.dtd -->
- <sources>
- <source></source>
- </sources>
- <packages>
- <package branch-rate="0" complexity="0" line-rate="0.6667" name=".">
- <classes>
- <class branch-rate="0" complexity="0" filename="a.py" line-rate="0.6667" name="a.py">
- <methods/>
- <lines>
- <line hits="1" number="3"/>
- <line hits="1" number="5"/>
- <line hits="0" number="7"/>
- </lines>
- </class>
- </classes>
- </package>
- </packages>
-</coverage>
+<?xml version="1.0" ?>
+<coverage branch-rate="0" line-rate="0.6667" timestamp="1437745880639" version="4.0a7">
+ <!-- Generated by coverage.py: https://coverage.readthedocs.org/en/coverage-4.0a7 -->
+ <!-- Based on https://raw.githubusercontent.com/cobertura/web/f0366e5e2cf18f111cbd61fc34ef720a6584ba02/htdocs/xml/coverage-03.dtd -->
+ <sources>
+ <source>/Users/ned/coverage/trunk/tests/farm/html/src</source>
+ </sources>
+ <packages>
+ <package branch-rate="0" complexity="0" line-rate="0.6667" name=".">
+ <classes>
+ <class branch-rate="0" complexity="0" filename="a.py" line-rate="0.6667" name="a.py">
+ <methods/>
+ <lines>
+ <line hits="1" number="6"/>
+ <line hits="1" number="8"/>
+ <line hits="0" number="10"/>
+ </lines>
+ </class>
+ </classes>
+ </package>
+ </packages>
+</coverage>
diff --git a/tests/farm/html/gold_y_xml_branch/coverage.xml b/tests/farm/html/gold_y_xml_branch/coverage.xml
index 9434ac7..a6acbfa 100644
--- a/tests/farm/html/gold_y_xml_branch/coverage.xml
+++ b/tests/farm/html/gold_y_xml_branch/coverage.xml
@@ -1,24 +1,24 @@
-<?xml version="1.0" ?>
-<coverage branch-rate="0.5" line-rate="0.8" timestamp="1259288252325" version="3.2b4">
- <!-- Generated by coverage.py: https://coverage.readthedocs.org/VER -->
- <!-- Based on https://raw.githubusercontent.com/cobertura/web/f0366e5e2cf18f111cbd61fc34ef720a6584ba02/htdocs/xml/coverage-03.dtd -->
- <sources>
- <source></source>
- </sources>
- <packages>
- <package branch-rate="0.5" complexity="0" line-rate="0.8" name=".">
- <classes>
- <class branch-rate="0.5" complexity="0" filename="y.py" line-rate="0.8" name="y.py">
- <methods/>
- <lines>
- <line hits="1" number="3"/>
- <line branch="true" condition-coverage="50% (1/2)" hits="1" missing-branches="7" number="4"/>
- <line hits="1" number="5"/>
- <line hits="0" number="7"/>
- <line hits="1" number="9"/>
- </lines>
- </class>
- </classes>
- </package>
- </packages>
-</coverage>
+<?xml version="1.0" ?>
+<coverage branch-rate="0.5" line-rate="0.8" timestamp="1437745880882" version="4.0a7">
+ <!-- Generated by coverage.py: https://coverage.readthedocs.org/en/coverage-4.0a7 -->
+ <!-- Based on https://raw.githubusercontent.com/cobertura/web/f0366e5e2cf18f111cbd61fc34ef720a6584ba02/htdocs/xml/coverage-03.dtd -->
+ <sources>
+ <source>/Users/ned/coverage/trunk/tests/farm/html/src</source>
+ </sources>
+ <packages>
+ <package branch-rate="0.5" complexity="0" line-rate="0.8" name=".">
+ <classes>
+ <class branch-rate="0.5" complexity="0" filename="y.py" line-rate="0.8" name="y.py">
+ <methods/>
+ <lines>
+ <line hits="1" number="6"/>
+ <line branch="true" condition-coverage="50% (1/2)" hits="1" missing-branches="10" number="7"/>
+ <line hits="1" number="8"/>
+ <line hits="0" number="10"/>
+ <line hits="1" number="12"/>
+ </lines>
+ </class>
+ </classes>
+ </package>
+ </packages>
+</coverage>
diff --git a/tests/farm/html/othersrc/other.py b/tests/farm/html/othersrc/other.py
index 6d3f86e..bf0304d 100644
--- a/tests/farm/html/othersrc/other.py
+++ b/tests/farm/html/othersrc/other.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# A file in another directory. We're checking that it ends up in the
# HTML report.
diff --git a/tests/farm/html/run_a.py b/tests/farm/html/run_a.py
index 1fb491d..48790fd 100644
--- a/tests/farm/html/run_a.py
+++ b/tests/farm/html/run_a.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
def html_it():
"""Run coverage.py and make an HTML report for a."""
import coverage
diff --git a/tests/farm/html/run_a_xml_1.py b/tests/farm/html/run_a_xml_1.py
index 6530657..33950c9 100644
--- a/tests/farm/html/run_a_xml_1.py
+++ b/tests/farm/html/run_a_xml_1.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
source_path = None
def html_it():
diff --git a/tests/farm/html/run_a_xml_2.py b/tests/farm/html/run_a_xml_2.py
index 6c92ce2..c048c6a 100644
--- a/tests/farm/html/run_a_xml_2.py
+++ b/tests/farm/html/run_a_xml_2.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
source_path = None
def html_it():
diff --git a/tests/farm/html/run_b_branch.py b/tests/farm/html/run_b_branch.py
index cc7783a..ecb812d 100644
--- a/tests/farm/html/run_b_branch.py
+++ b/tests/farm/html/run_b_branch.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
def html_it():
"""Run coverage.py with branches and make an HTML report for b."""
import coverage
@@ -16,9 +19,9 @@ contains("html_b_branch/b_py.html",
'<span class="key">if</span> <span class="nam">x</span> <span class="op">&lt;</span> <span class="num">2</span>',
'&nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">3</span>',
'<span class="pc_cov">70%</span>',
- '<span class="annotate" title="no jump to this line number">8</span>',
+ '<span class="annotate" title="no jump to this line number">11</span>',
'<span class="annotate" title="no jump to this line number">exit</span>',
- '<span class="annotate" title="no jumps to these line numbers">23&nbsp;&nbsp; 25</span>',
+ '<span class="annotate" title="no jumps to these line numbers">26&nbsp;&nbsp; 28</span>',
)
contains("html_b_branch/index.html",
'<a href="b_py.html">b.py</a>',
diff --git a/tests/farm/html/run_bom.py b/tests/farm/html/run_bom.py
index 9ff0b58..17f0b3c 100644
--- a/tests/farm/html/run_bom.py
+++ b/tests/farm/html/run_bom.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
import sys
def html_it():
diff --git a/tests/farm/html/run_isolatin1.py b/tests/farm/html/run_isolatin1.py
index bad31f0..009bafd 100644
--- a/tests/farm/html/run_isolatin1.py
+++ b/tests/farm/html/run_isolatin1.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
import sys
def html_it():
diff --git a/tests/farm/html/run_omit_1.py b/tests/farm/html/run_omit_1.py
index b2f48ab..bf592f9 100644
--- a/tests/farm/html/run_omit_1.py
+++ b/tests/farm/html/run_omit_1.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
def html_it():
"""Run coverage.py and make an HTML report for main."""
import coverage
diff --git a/tests/farm/html/run_omit_2.py b/tests/farm/html/run_omit_2.py
index acf560f..68f7599 100644
--- a/tests/farm/html/run_omit_2.py
+++ b/tests/farm/html/run_omit_2.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
def html_it():
"""Run coverage.py and make an HTML report for main."""
import coverage
diff --git a/tests/farm/html/run_omit_3.py b/tests/farm/html/run_omit_3.py
index 65df865..f30ae5f 100644
--- a/tests/farm/html/run_omit_3.py
+++ b/tests/farm/html/run_omit_3.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
def html_it():
"""Run coverage.py and make an HTML report for main."""
import coverage
diff --git a/tests/farm/html/run_omit_4.py b/tests/farm/html/run_omit_4.py
index f60bac2..7f50a53 100644
--- a/tests/farm/html/run_omit_4.py
+++ b/tests/farm/html/run_omit_4.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
def html_it():
"""Run coverage.py and make an HTML report for main."""
import coverage
diff --git a/tests/farm/html/run_omit_5.py b/tests/farm/html/run_omit_5.py
index 6e8d3f9..2f1d776 100644
--- a/tests/farm/html/run_omit_5.py
+++ b/tests/farm/html/run_omit_5.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
def html_it():
"""Run coverage.py and make an HTML report for main."""
import coverage
diff --git a/tests/farm/html/run_other.py b/tests/farm/html/run_other.py
index 0c84369..2557bb5 100644
--- a/tests/farm/html/run_other.py
+++ b/tests/farm/html/run_other.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
def html_it():
"""Run coverage.py and make an HTML report for everything."""
import coverage
diff --git a/tests/farm/html/run_partial.py b/tests/farm/html/run_partial.py
index da51814..d9d089e 100644
--- a/tests/farm/html/run_partial.py
+++ b/tests/farm/html/run_partial.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
import sys
def html_it():
@@ -15,11 +18,11 @@ runfunc(html_it, rundir="src")
# and check that certain key strings are in the output.
compare("gold_partial", "html_partial", size_within=10, file_pattern="*.html")
contains("html_partial/partial_py.html",
- '<p id="t5" class="stm run hide_run">',
'<p id="t8" class="stm run hide_run">',
'<p id="t11" class="stm run hide_run">',
+ '<p id="t14" class="stm run hide_run">',
# The "if 0" and "if 1" statements are optimized away.
- '<p id="t14" class="pln">',
+ '<p id="t17" class="pln">',
)
contains("html_partial/index.html",
'<a href="partial_py.html">partial.py</a>',
diff --git a/tests/farm/html/run_styled.py b/tests/farm/html/run_styled.py
index 0d0de70..ad9b027 100644
--- a/tests/farm/html/run_styled.py
+++ b/tests/farm/html/run_styled.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
def html_it():
"""Run coverage.py and make an HTML report for a."""
import coverage
diff --git a/tests/farm/html/run_tabbed.py b/tests/farm/html/run_tabbed.py
index 7a57169..b2e02cb 100644
--- a/tests/farm/html/run_tabbed.py
+++ b/tests/farm/html/run_tabbed.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
def html_it():
"""Run coverage.py and make an HTML report for tabbed."""
import coverage
diff --git a/tests/farm/html/run_unicode.py b/tests/farm/html/run_unicode.py
index 9cb3a0d..698c282 100644
--- a/tests/farm/html/run_unicode.py
+++ b/tests/farm/html/run_unicode.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
def html_it():
"""Run coverage.py and make an HTML report for unicode.py."""
import coverage
diff --git a/tests/farm/html/run_y_xml_branch.py b/tests/farm/html/run_y_xml_branch.py
index a0def47..577f1ce 100644
--- a/tests/farm/html/run_y_xml_branch.py
+++ b/tests/farm/html/run_y_xml_branch.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
source_path = None
def xml_it():
diff --git a/tests/farm/html/src/a.py b/tests/farm/html/src/a.py
index 3c1119f..85764e2 100644
--- a/tests/farm/html/src/a.py
+++ b/tests/farm/html/src/a.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# A test file for HTML reporting by coverage.py.
if 1 < 2:
diff --git a/tests/farm/html/src/b.py b/tests/farm/html/src/b.py
index e57ceae..cb673c2 100644
--- a/tests/farm/html/src/b.py
+++ b/tests/farm/html/src/b.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# A test file for HTML reporting by coverage.py.
def one(x):
diff --git a/tests/farm/html/src/bom.py b/tests/farm/html/src/bom.py
index 1aff5d5..21d26ca 100644
--- a/tests/farm/html/src/bom.py
+++ b/tests/farm/html/src/bom.py
@@ -1,11 +1,14 @@
-# A Python source file in utf-8, with BOM.
-math = "3×4 = 12, ÷2 = 6±0"
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
-import sys
-
-if sys.version_info >= (3, 0):
- assert len(math) == 18
- assert len(math.encode('utf-8')) == 21
-else:
- assert len(math) == 21
- assert len(math.decode('utf-8')) == 18
+# A Python source file in utf-8, with BOM.
+math = "3×4 = 12, ÷2 = 6±0"
+
+import sys
+
+if sys.version_info >= (3, 0):
+ assert len(math) == 18
+ assert len(math.encode('utf-8')) == 21
+else:
+ assert len(math) == 21
+ assert len(math.decode('utf-8')) == 18
diff --git a/tests/farm/html/src/here.py b/tests/farm/html/src/here.py
index 87e988b..fee9960 100644
--- a/tests/farm/html/src/here.py
+++ b/tests/farm/html/src/here.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# A test file for HTML reporting by coverage.py.
import other
diff --git a/tests/farm/html/src/isolatin1.py b/tests/farm/html/src/isolatin1.py
index 7a49b07..55a6f7d 100644
--- a/tests/farm/html/src/isolatin1.py
+++ b/tests/farm/html/src/isolatin1.py
@@ -1,5 +1,8 @@
-# A Python source file in another encoding.
# -*- coding: iso8859-1 -*-
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+# A Python source file in another encoding.
math = "34 = 12, 2 = 60"
assert len(math) == 18
diff --git a/tests/farm/html/src/m1.py b/tests/farm/html/src/m1.py
index 927e1f6..524fb0a 100644
--- a/tests/farm/html/src/m1.py
+++ b/tests/farm/html/src/m1.py
@@ -1,2 +1,5 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
m1a = 1
m1b = 2
diff --git a/tests/farm/html/src/m2.py b/tests/farm/html/src/m2.py
index ffddf6c..2d13bfe 100644
--- a/tests/farm/html/src/m2.py
+++ b/tests/farm/html/src/m2.py
@@ -1,2 +1,5 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
m2a = 1
m2b = 2
diff --git a/tests/farm/html/src/m3.py b/tests/farm/html/src/m3.py
index 395d7d2..96e8b99 100644
--- a/tests/farm/html/src/m3.py
+++ b/tests/farm/html/src/m3.py
@@ -1,2 +1,5 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
m3a = 1
m3b = 2
diff --git a/tests/farm/html/src/main.py b/tests/farm/html/src/main.py
index ce89446..238d0b5 100644
--- a/tests/farm/html/src/main.py
+++ b/tests/farm/html/src/main.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
import m1
import m2
import m3
diff --git a/tests/farm/html/src/omit4.ini b/tests/farm/html/src/omit4.ini
index 6821ecd..b792e70 100644
--- a/tests/farm/html/src/omit4.ini
+++ b/tests/farm/html/src/omit4.ini
@@ -1,2 +1,5 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
[report]
omit = m2.py
diff --git a/tests/farm/html/src/omit5.ini b/tests/farm/html/src/omit5.ini
index 7e32b41..3d8dbcf 100644
--- a/tests/farm/html/src/omit5.ini
+++ b/tests/farm/html/src/omit5.ini
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
[report]
omit =
fooey
diff --git a/tests/farm/html/src/partial.py b/tests/farm/html/src/partial.py
index 8d62f5c..66dddac 100644
--- a/tests/farm/html/src/partial.py
+++ b/tests/farm/html/src/partial.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# partial branches
a = 3
diff --git a/tests/farm/html/src/run_a_xml_2.ini b/tests/farm/html/src/run_a_xml_2.ini
index 8d28f97..5b5f18d 100644
--- a/tests/farm/html/src/run_a_xml_2.ini
+++ b/tests/farm/html/src/run_a_xml_2.ini
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# Put all the XML output in xml_2
[xml]
output = ../xml_2/coverage.xml
diff --git a/tests/farm/html/src/tabbed.py b/tests/farm/html/src/tabbed.py
index 2035852..e897e9f 100644
--- a/tests/farm/html/src/tabbed.py
+++ b/tests/farm/html/src/tabbed.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# This file should have tabs.
x = 1
if x:
diff --git a/tests/farm/html/src/unicode.py b/tests/farm/html/src/unicode.py
index 08e1b54..37c5533 100644
--- a/tests/farm/html/src/unicode.py
+++ b/tests/farm/html/src/unicode.py
@@ -1,5 +1,8 @@
-# A Python source file with exotic characters.
# -*- coding: utf-8 -*-
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+# A Python source file with exotic characters.
upside_down = "ʎd˙ǝbɐɹǝʌoɔ"
surrogate = "db40,dd00: x󠄀"
diff --git a/tests/farm/html/src/y.py b/tests/farm/html/src/y.py
index a5f5fc7..a50bb62 100644
--- a/tests/farm/html/src/y.py
+++ b/tests/farm/html/src/y.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# A test file for XML reporting by coverage.py.
def choice(x):
diff --git a/tests/farm/run/run_chdir.py b/tests/farm/run/run_chdir.py
index 367cd0a..9e3c751 100644
--- a/tests/farm/run/run_chdir.py
+++ b/tests/farm/run/run_chdir.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
copy("src", "out")
run("""
coverage run chdir.py
diff --git a/tests/farm/run/run_timid.py b/tests/farm/run/run_timid.py
index 99155b8..a632cea 100644
--- a/tests/farm/run/run_timid.py
+++ b/tests/farm/run/run_timid.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# Test that the --timid command line argument properly swaps the tracer
# function for a simpler one.
#
diff --git a/tests/farm/run/run_xxx.py b/tests/farm/run/run_xxx.py
index 6fedc93..62a862e 100644
--- a/tests/farm/run/run_xxx.py
+++ b/tests/farm/run/run_xxx.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
copy("src", "out")
run("""
coverage run xxx
diff --git a/tests/farm/run/src/chdir.py b/tests/farm/run/src/chdir.py
index 6d83492..35cfcc8 100644
--- a/tests/farm/run/src/chdir.py
+++ b/tests/farm/run/src/chdir.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
import os
print("Line One")
os.chdir("subdir")
diff --git a/tests/farm/run/src/showtrace.py b/tests/farm/run/src/showtrace.py
index e97412e..3a2750a 100644
--- a/tests/farm/run/src/showtrace.py
+++ b/tests/farm/run/src/showtrace.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# Show the current frame's trace function, so that we can test what the
# command-line options do to the trace function used.
diff --git a/tests/farm/run/src/xxx b/tests/farm/run/src/xxx
index 8f727f0..864da45 100644
--- a/tests/farm/run/src/xxx
+++ b/tests/farm/run/src/xxx
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# This is a python file though it doesn't look like it, like a main script.
a = b = c = d = 0
a = 3
diff --git a/tests/helpers.py b/tests/helpers.py
index c26f485..cfea8f3 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Helpers for coverage.py tests."""
import subprocess
diff --git a/tests/js/tests.js b/tests/js/tests.js
index 73b4ce2..504a158 100644
--- a/tests/js/tests.js
+++ b/tests/js/tests.js
@@ -1,3 +1,6 @@
+/* Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 */
+/* For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt */
+
// Tests of coverage.py HTML report chunk navigation.
/*global coverage, test, module, equals, jQuery, $ */
diff --git a/tests/modules/covmod1.py b/tests/modules/covmod1.py
index b3f5e5f..0f9638b 100644
--- a/tests/modules/covmod1.py
+++ b/tests/modules/covmod1.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# covmod1.py: Simplest module for testing.
i = 1
i += 1
diff --git a/tests/modules/pkg1/p1a.py b/tests/modules/pkg1/p1a.py
index 337add4..5d81b1f 100644
--- a/tests/modules/pkg1/p1a.py
+++ b/tests/modules/pkg1/p1a.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
import os, sys
# Invoke functions in os and sys so we can see if we measure code there.
diff --git a/tests/modules/pkg1/p1b.py b/tests/modules/pkg1/p1b.py
index 59d6fb5..53505ce 100644
--- a/tests/modules/pkg1/p1b.py
+++ b/tests/modules/pkg1/p1b.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
x = 1
y = 2
z = 3
diff --git a/tests/modules/pkg1/p1c.py b/tests/modules/pkg1/p1c.py
index a9aeef0..98f319e 100644
--- a/tests/modules/pkg1/p1c.py
+++ b/tests/modules/pkg1/p1c.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
a = 1
b = 2
c = 3
diff --git a/tests/modules/pkg1/runmod2.py b/tests/modules/pkg1/runmod2.py
index b52964c..5911db7 100644
--- a/tests/modules/pkg1/runmod2.py
+++ b/tests/modules/pkg1/runmod2.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# Used in the tests for run_python_module
import sys
print("runmod2: passed %s" % sys.argv[1])
diff --git a/tests/modules/pkg1/sub/ps1a.py b/tests/modules/pkg1/sub/ps1a.py
index 4b6a15c..44d3b27 100644
--- a/tests/modules/pkg1/sub/ps1a.py
+++ b/tests/modules/pkg1/sub/ps1a.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
d = 1
e = 2
f = 3
diff --git a/tests/modules/pkg1/sub/runmod3.py b/tests/modules/pkg1/sub/runmod3.py
index 3a1ad15..1f5ce27 100644
--- a/tests/modules/pkg1/sub/runmod3.py
+++ b/tests/modules/pkg1/sub/runmod3.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# Used in the tests for run_python_module
import sys
print("runmod3: passed %s" % sys.argv[1])
diff --git a/tests/modules/pkg2/p2a.py b/tests/modules/pkg2/p2a.py
index b606711..62caae2 100644
--- a/tests/modules/pkg2/p2a.py
+++ b/tests/modules/pkg2/p2a.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
q = 1
r = 1
s = 1
diff --git a/tests/modules/pkg2/p2b.py b/tests/modules/pkg2/p2b.py
index 7a34e2c..73716eb 100644
--- a/tests/modules/pkg2/p2b.py
+++ b/tests/modules/pkg2/p2b.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
t = 1
u = 1
v = 1
diff --git a/tests/modules/plugins/another.py b/tests/modules/plugins/another.py
index 2a9910d..096d3b9 100644
--- a/tests/modules/plugins/another.py
+++ b/tests/modules/plugins/another.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""A plugin for tests to reference."""
from coverage import CoveragePlugin
diff --git a/tests/modules/runmod1.py b/tests/modules/runmod1.py
index 671d81e..b43b299 100644
--- a/tests/modules/runmod1.py
+++ b/tests/modules/runmod1.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# Used in the tests for run_python_module
import sys
print("runmod1: passed %s" % sys.argv[1])
diff --git a/tests/modules/usepkgs.py b/tests/modules/usepkgs.py
index 93c7d90..4e94aca 100644
--- a/tests/modules/usepkgs.py
+++ b/tests/modules/usepkgs.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
import pkg1.p1a, pkg1.p1b
import pkg2.p2a, pkg2.p2b
import othermods.othera, othermods.otherb
diff --git a/tests/moremodules/othermods/othera.py b/tests/moremodules/othermods/othera.py
index 7889692..b3ee9c0 100644
--- a/tests/moremodules/othermods/othera.py
+++ b/tests/moremodules/othermods/othera.py
@@ -1,2 +1,5 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
o = 1
p = 2
diff --git a/tests/moremodules/othermods/otherb.py b/tests/moremodules/othermods/otherb.py
index 2bd8a44..334fdc4 100644
--- a/tests/moremodules/othermods/otherb.py
+++ b/tests/moremodules/othermods/otherb.py
@@ -1,2 +1,5 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
q = 3
r = 4
diff --git a/tests/moremodules/othermods/sub/osa.py b/tests/moremodules/othermods/sub/osa.py
index 0139d28..4005640 100644
--- a/tests/moremodules/othermods/sub/osa.py
+++ b/tests/moremodules/othermods/sub/osa.py
@@ -1,2 +1,5 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
s = 5
t = 6
diff --git a/tests/moremodules/othermods/sub/osb.py b/tests/moremodules/othermods/sub/osb.py
index b024b14..7d96fb7 100644
--- a/tests/moremodules/othermods/sub/osb.py
+++ b/tests/moremodules/othermods/sub/osb.py
@@ -1,2 +1,5 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
u = 7
v = 8
diff --git a/tests/osinfo.py b/tests/osinfo.py
index 0b86ef5..5415334 100644
--- a/tests/osinfo.py
+++ b/tests/osinfo.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""OS information for testing."""
from coverage import env
diff --git a/tests/plugin1.py b/tests/plugin1.py
index 0ba09d9..c28b886 100644
--- a/tests/plugin1.py
+++ b/tests/plugin1.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""A plugin for test_plugins.py to import."""
import os.path
diff --git a/tests/plugin2.py b/tests/plugin2.py
index 6e875e5..cbd2fc1 100644
--- a/tests/plugin2.py
+++ b/tests/plugin2.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""A plugin for test_plugins.py to import."""
import os.path
diff --git a/tests/stress_phystoken.tok b/tests/stress_phystoken.tok
index 8d1b6be..eb2fb66 100644
--- a/tests/stress_phystoken.tok
+++ b/tests/stress_phystoken.tok
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# Here's some random Python so that test_tokenize_myself will have some
# stressful stuff to try. This file is .tok instead of .py so pylint won't
# complain about it, check_eol won't look at it, etc.
diff --git a/tests/stress_phystoken_dos.tok b/tests/stress_phystoken_dos.tok
index b08fd70..5b016a7 100644
--- a/tests/stress_phystoken_dos.tok
+++ b/tests/stress_phystoken_dos.tok
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
# Here's some random Python so that test_tokenize_myself will have some
# stressful stuff to try. This file is .tok instead of .py so pylint won't
# complain about it, check_eol won't look at it, etc.
diff --git a/tests/test_api.py b/tests/test_api.py
index ef34e84..5169239 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -1,4 +1,7 @@
-"""Tests for Coverage's API."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Tests for coverage.py's API."""
import fnmatch
import os
diff --git a/tests/test_arcs.py b/tests/test_arcs.py
index 4e0ef39..624081d 100644
--- a/tests/test_arcs.py
+++ b/tests/test_arcs.py
@@ -1,4 +1,7 @@
-"""Tests for Coverage.py's arc measurement."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Tests for coverage.py's arc measurement."""
from tests.coveragetest import CoverageTest
diff --git a/tests/test_backward.py b/tests/test_backward.py
index 09803ba..fbb9ad8 100644
--- a/tests/test_backward.py
+++ b/tests/test_backward.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests that our version shims in backward.py are working."""
from coverage.backunittest import TestCase
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index 79a8339..0621ec3 100644
--- a/tests/test_cmdline.py
+++ b/tests/test_cmdline.py
@@ -1,4 +1,7 @@
-"""Test cmdline.py for coverage."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Test cmdline.py for coverage.py."""
import pprint
import re
diff --git a/tests/test_collector.py b/tests/test_collector.py
index 2636009..3e254f3 100644
--- a/tests/test_collector.py
+++ b/tests/test_collector.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests of coverage/collector.py and other collectors."""
import os.path
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py
index e2ea3aa..3c33898 100644
--- a/tests/test_concurrency.py
+++ b/tests/test_concurrency.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests for concurrency libraries."""
import os
diff --git a/tests/test_config.py b/tests/test_config.py
index d375830..6234ac5 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Test the config file handling for coverage.py"""
import sys
diff --git a/tests/test_coverage.py b/tests/test_coverage.py
index bff2c46..2226c00 100644
--- a/tests/test_coverage.py
+++ b/tests/test_coverage.py
@@ -1,5 +1,7 @@
-"""Tests for Coverage."""
-# http://nedbatchelder.com/code/coverage
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Tests for coverage.py."""
import coverage
from coverage import env
diff --git a/tests/test_data.py b/tests/test_data.py
index 451b6f4..92233a6 100644
--- a/tests/test_data.py
+++ b/tests/test_data.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests for coverage.data"""
import glob
diff --git a/tests/test_debug.py b/tests/test_debug.py
index 8576112..9021888 100644
--- a/tests/test_debug.py
+++ b/tests/test_debug.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests of coverage/debug.py"""
import os
diff --git a/tests/test_execfile.py b/tests/test_execfile.py
index 49d6cc8..2a0ca05 100644
--- a/tests/test_execfile.py
+++ b/tests/test_execfile.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests for coverage.execfile"""
import compileall
diff --git a/tests/test_farm.py b/tests/test_farm.py
index 8b17251..daa83d9 100644
--- a/tests/test_farm.py
+++ b/tests/test_farm.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Run tests in the farm sub-directory. Designed for nose."""
import difflib
diff --git a/tests/test_filereporter.py b/tests/test_filereporter.py
index 045081c..380d92d 100644
--- a/tests/test_filereporter.py
+++ b/tests/test_filereporter.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests for FileReporters"""
import os
@@ -117,4 +120,4 @@ class FileReporterTest(CoverageTest):
ecu = PythonFileReporter(egg1)
eecu = PythonFileReporter(egg1.egg1)
self.assertEqual(ecu.source(), u"")
- self.assertEqual(eecu.source().split("\n")[0], u"# My egg file!")
+ self.assertIn(u"# My egg file!", eecu.source().splitlines())
diff --git a/tests/test_files.py b/tests/test_files.py
index 4d9e392..b658853 100644
--- a/tests/test_files.py
+++ b/tests/test_files.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests for files.py"""
import os
diff --git a/tests/test_html.py b/tests/test_html.py
index b74e136..fd22980 100644
--- a/tests/test_html.py
+++ b/tests/test_html.py
@@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests that HTML generation is awesome."""
import datetime
diff --git a/tests/test_misc.py b/tests/test_misc.py
index c5c03b7..76194ef 100644
--- a/tests/test_misc.py
+++ b/tests/test_misc.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests of miscellaneous stuff."""
import sys
diff --git a/tests/test_oddball.py b/tests/test_oddball.py
index 1c92273..90a2847 100644
--- a/tests/test_oddball.py
+++ b/tests/test_oddball.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Oddball cases for testing coverage.py"""
import sys
diff --git a/tests/test_parser.py b/tests/test_parser.py
index b3f41dd..98aba04 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -1,4 +1,7 @@
-"""Tests for Coverage.py's code parsing."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Tests for coverage.py's code parsing."""
import textwrap
diff --git a/tests/test_phystokens.py b/tests/test_phystokens.py
index 6fa4a44..a8de298 100644
--- a/tests/test_phystokens.py
+++ b/tests/test_phystokens.py
@@ -1,4 +1,7 @@
-"""Tests for Coverage.py's improved tokenizer."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Tests for coverage.py's improved tokenizer."""
import os.path
import re
diff --git a/tests/test_plugins.py b/tests/test_plugins.py
index 26649a3..db98703 100644
--- a/tests/test_plugins.py
+++ b/tests/test_plugins.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests for plugins."""
import os.path
diff --git a/tests/test_process.py b/tests/test_process.py
index f7946b6..4fe22a0 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests for process behavior of coverage.py."""
import glob
diff --git a/tests/test_python.py b/tests/test_python.py
index f2c18a1..e510e78 100644
--- a/tests/test_python.py
+++ b/tests/test_python.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests of coverage/python.py"""
import os
diff --git a/tests/test_results.py b/tests/test_results.py
index 4ce048b..0fa1ad5 100644
--- a/tests/test_results.py
+++ b/tests/test_results.py
@@ -1,4 +1,7 @@
-"""Tests for Coverage.py's results analysis."""
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+"""Tests for coverage.py's results analysis."""
from coverage.results import Numbers
from tests.coveragetest import CoverageTest
diff --git a/tests/test_summary.py b/tests/test_summary.py
index 6e7dbeb..16a4c57 100644
--- a/tests/test_summary.py
+++ b/tests/test_summary.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Test text-based summary reporting for coverage.py"""
import glob
@@ -42,16 +45,16 @@ class SummaryTest(CoverageTest):
# Name Stmts Miss Cover
# ------------------------------------------------------------------
# c:/ned/coverage/tests/modules/covmod1.py 2 0 100%
- # c:/ned/coverage/tests/zipmods.zip/covmodzip1.py 2 0 100%
+ # c:/ned/coverage/tests/zipmods.zip/covmodzip1.py 3 0 100%
# mycode.py 4 0 100%
# ------------------------------------------------------------------
- # TOTAL 8 0 100%
+ # TOTAL 9 0 100%
self.assertNotIn("/coverage/__init__/", report)
self.assertIn("/tests/modules/covmod1.py ", report)
self.assertIn("/tests/zipmods.zip/covmodzip1.py ", report)
self.assertIn("mycode.py ", report)
- self.assertEqual(self.last_line_squeezed(report), "TOTAL 8 0 100%")
+ self.assertEqual(self.last_line_squeezed(report), "TOTAL 9 0 100%")
def test_report_just_one(self):
# Try reporting just one module
diff --git a/tests/test_templite.py b/tests/test_templite.py
index 2b64e4e..2f9b2db 100644
--- a/tests/test_templite.py
+++ b/tests/test_templite.py
@@ -1,4 +1,7 @@
# -*- coding: utf8 -*-
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests for coverage.templite."""
import re
diff --git a/tests/test_testing.py b/tests/test_testing.py
index 5e54268..39c711b 100644
--- a/tests/test_testing.py
+++ b/tests/test_testing.py
@@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests that our test infrastructure is really working!"""
import datetime
diff --git a/tests/test_xml.py b/tests/test_xml.py
index b9b36ef..8ba92d6 100644
--- a/tests/test_xml.py
+++ b/tests/test_xml.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Tests for XML reports from coverage.py."""
import os
diff --git a/tests/try_execfile.py b/tests/try_execfile.py
index e0b79b4..7090507 100644
--- a/tests/try_execfile.py
+++ b/tests/try_execfile.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
"""Test file for run_python_file.
This file is executed two ways::
diff --git a/tox.ini b/tox.ini
index a47e268..7e55bc4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,5 @@
-# Tox (http://tox.testrun.org/) is a tool for running tests
-# in multiple virtualenvs. This configuration file will run the
-# test suite on all supported python versions. To use it, "pip install tox"
-# and then run "tox" from this directory.
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
[tox]
envlist = py26, py27, py33, py34, py35, pypy24, pypy26, pypy3_24
diff --git a/tox_wheels.ini b/tox_wheels.ini
index 378cc0b..691ca5b 100644
--- a/tox_wheels.ini
+++ b/tox_wheels.ini
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
[tox]
envlist = py26, py27, py33, py34, py35
toxworkdir = {toxinidir}/.tox_kits
diff --git a/tox_winkits.ini b/tox_winkits.ini
index 54e8779..85b318e 100644
--- a/tox_winkits.ini
+++ b/tox_winkits.ini
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
[tox]
envlist = py26, py27, py33, py34
toxworkdir = {toxinidir}/.tox_kits