summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.txt10
-rw-r--r--coverage/results.py4
2 files changed, 8 insertions, 6 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 7dfad516..17c5c353 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -32,13 +32,10 @@ Version 3.5b1
- Modules can now be run directly using ``coverage run -m modulename``, to
mirror Python's ``-m`` flag. Closes `issue 95`_, thanks, Brandon Rhodes.
-- ``coverage run`` didn't emulate Python accurately in one detail: the
+- ``coverage run`` didn't emulate Python accurately in one small detail: the
current directory inserted into ``sys.path`` was relative rather than
absolute. This is now fixed.
-- A little bit of Jython support: `coverage run` can now measure Jython
- execution by adapting when $py.class files are traced. Thanks, Adi Roiban.
-
- HTML reporting is now incremental: a record is kept of the data that
produced the HTML reports, and only files whose data has changed will
be generated. This should make most HTML reporting faster.
@@ -66,6 +63,11 @@ Version 3.5b1
the directory name to python: ``python coverage_py_working_dir run ...``.
Thanks, Brett Cannon.
+- A little bit of Jython support: `coverage run` can now measure Jython
+ execution by adapting when $py.class files are traced. Thanks, Adi Roiban.
+ Jython still doesn't provide the Python libraries needed to make
+ coverage reporting work, unfortunately.
+
- Internally, files are now closed explicitly, fixing `issue 104`_. Thanks,
Brett Cannon.
diff --git a/coverage/results.py b/coverage/results.py
index d92b503c..7b032f18 100644
--- a/coverage/results.py
+++ b/coverage/results.py
@@ -97,8 +97,8 @@ class Analysis(object):
# trouble, and here is where it's the least burden to remove them.
unpredicted = [
e for e in executed
- if e not in possible
- and e[0] != e[1]
+ if e not in possible
+ and e[0] != e[1]
and e[0] not in self.no_branch
]
return sorted(unpredicted)