diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2011-02-06 23:02:12 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2011-02-06 23:02:12 -0500 |
| commit | 2afc485b2724f496c67e0660c9c3683c52634515 (patch) | |
| tree | df91bb766f3836f428e533a9a6907569793e45b4 /CHANGES.txt | |
| parent | 50bc61cd0b0a66ec6cc497ea6870765d627fb9be (diff) | |
| download | python-coveragepy-git-2afc485b2724f496c67e0660c9c3683c52634515.tar.gz | |
Add tests and doc for Brandon's -m flag.
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index d338e155..e8f463f9 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -11,6 +11,9 @@ Version 3.5 On a file page, ``r``, ``m``, ``x``, and ``p`` toggle the run, missing, excluded, and partial line markings. +- Modules can now be run directly using ``coverage run -m modulename``, to + mirror Python's ``-m`` flag. Closes `issue 95_`, thanks, Brandon Rhodes. + - A little bit of Jython support: `coverage run` can now measure Jython execution by adapting when $py.class files are traced. Thanks, Adi Roiban. @@ -27,6 +30,7 @@ Version 3.5 Brett Cannon. .. _issue 93: http://bitbucket.org/ned/coveragepy/issue/93/copying-a-mock-object-breaks-coverage +.. _issue 95: https://bitbucket.org/ned/coveragepy/issue/95/run-subcommand-should-take-a-module-name .. _issue 104: https://bitbucket.org/ned/coveragepy/issue/104/explicitly-close-files .. _issue 107: https://bitbucket.org/ned/coveragepy/issue/107/codeparser-not-opening-source-files-with |
