summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-04-15 22:51:29 -0400
committerNed Batchelder <ned@nedbatchelder.com>2011-04-15 22:51:29 -0400
commit174cb637804a7d63484b6b280068324e62a9f61f (patch)
tree82285ccd6c70ce7bb50b4adc6715be22794ba2d5
parentca2d15da760b9da441a25b1591a97e372518a413 (diff)
downloadpython-coveragepy-git-174cb637804a7d63484b6b280068324e62a9f61f.tar.gz
Update the docs for running coverage as a module.
-rw-r--r--CHANGES.txt3
-rw-r--r--doc/changes.rst3
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 54d5ce88..45dc1dc5 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -149,6 +149,9 @@ Version 3.4b1 --- 21 August 2010
and parent processes. Use ``coverage run -p`` to get two data files that can
be combined with ``coverage combine``. Fixes `issue 56`_.
+- Coverage is now runnable as a module: ``python -m coverage``. Thanks,
+ Brett Cannon.
+
- When measuring code running in a virtualenv, most of the system library was
being measured when it shouldn't have been. This is now fixed.
diff --git a/doc/changes.rst b/doc/changes.rst
index e5c44037..363b5756 100644
--- a/doc/changes.rst
+++ b/doc/changes.rst
@@ -100,6 +100,9 @@ Execution and measurement:
- When measuring code running in a virtualenv, most of the system library was
being measured when it shouldn't have been. This is now fixed.
+- Coverage can now be run as a module: ``python -m coverage``. Thanks,
+ Brett Cannon.
+
.. _issue 1: http://bitbucket.org/ned/coveragepy/issue/1/empty-__init__py-files-are-reported-as-1-executable
.. _issue 16: http://bitbucket.org/ned/coveragepy/issue/16/allow-configuration-of-accuracy-of-percentage-totals
.. _issue 34: http://bitbucket.org/ned/coveragepy/issue/34/enhanced-omit-globbing-handling