diff options
-rw-r--r-- | .hgtags | 1 | ||||
-rw-r--r-- | CHANGES.txt | 26 | ||||
-rw-r--r-- | coverage/__init__.py | 2 | ||||
-rw-r--r-- | coverage/codeunit.py | 2 |
4 files changed, 23 insertions, 8 deletions
@@ -12,3 +12,4 @@ ad991769ad4f685089bacc594e689bab50a6db90 coverage-3.0b3 9231251c603ef0d491b01799b3d1da7af54dd083 coverage-3.2b1 9231251c603ef0d491b01799b3d1da7af54dd083 coverage-3.2b1 da052544181e335a18b4141b8b7a47e8246aa9e8 coverage-3.2b1 +11f0fbec2bc9b22a5fd8687d8b94338a4a363e6c coverage-3.2b2 diff --git a/CHANGES.txt b/CHANGES.txt index 1ef464e0..63333d99 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -2,20 +2,33 @@ Change history for Coverage.py
------------------------------
-Version 3.2b2
+Version 3.2b3
-------------
+- None yet.
+
+
+Version 3.2b2, 19 November 2009
+-------------------------------
+
+- Branch coverage improvements:
+
+ - Classes are no longer incorrectly marked as branches: `issue 32`_.
+
+ - "except" clauses with types are no longer incorrectly marked as branches:
+ `issue 35`_.
+
- Fixed some problems syntax coloring sources with line continuations and
source with tabs: `issue 30`_ and `issue 31`_.
-- Classes are no longer incorrectly marked as branches: `issue 32`_.
-
-- "except" clauses with types are no longer incorrectly marked as branches:
- `issue 35`_.
+- The --omit option now works much better than before, fixing `issue 14` and
+ `issue 33`_. Thanks, Danek Duvall.
+.. _issue 14: http://bitbucket.org/ned/coveragepy/issue/14
.. _issue 30: http://bitbucket.org/ned/coveragepy/issue/30
.. _issue 31: http://bitbucket.org/ned/coveragepy/issue/31
.. _issue 32: http://bitbucket.org/ned/coveragepy/issue/32
+.. _issue 33: http://bitbucket.org/ned/coveragepy/issue/33
.. _issue 35: http://bitbucket.org/ned/coveragepy/issue/35
@@ -37,7 +50,8 @@ Version 3.2b1, 10 November 2009 Version 3.1, 4 October 2009
---------------------------
-- Source code can now be read from eggs. Thanks, rozza. Fixes `issue 25`_
+- Source code can now be read from eggs. Thanks, Ross Lawley. Fixes
+ `issue 25`_.
.. _issue 25: http://bitbucket.org/ned/coveragepy/issue/25
diff --git a/coverage/__init__.py b/coverage/__init__.py index 9f399cbe..7deeff50 100644 --- a/coverage/__init__.py +++ b/coverage/__init__.py @@ -5,7 +5,7 @@ http://nedbatchelder.com/code/coverage """ -__version__ = "3.2b2" # see detailed history in CHANGES.txt +__version__ = "3.2b3" # see detailed history in CHANGES.txt __url__ = "http://nedbatchelder.com/code/coverage" diff --git a/coverage/codeunit.py b/coverage/codeunit.py index 520774e5..e3107052 100644 --- a/coverage/codeunit.py +++ b/coverage/codeunit.py @@ -38,7 +38,7 @@ def code_unit_factory(morfs, file_locator, omit_prefixes=None): filtered = [] for cu in code_units: for prefix in prefixes: - if cu.name.startswith(prefix): + if cu.filename.startswith(prefix): break else: filtered.append(cu) |