diff options
-rw-r--r-- | CHANGES.txt | 26 | ||||
-rw-r--r-- | coverage/__init__.py | 2 | ||||
-rw-r--r-- | coverage/codeunit.py | 2 |
3 files changed, 22 insertions, 8 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 1ef464e..63333d9 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 9f399cb..7deeff5 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 520774e..e310705 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) |