Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: third_party/coverage-3.7.1/doc/branch.rst

Issue 225633007: Upgrade to coverage 3.7.1 and have it auto-build itself on first use. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: sigh our imports are a mess Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/coverage-3.7.1/doc/api.rst ('k') | third_party/coverage-3.7.1/doc/changes.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/coverage-3.7.1/doc/branch.rst
diff --git a/third_party/coverage-3.6/doc/branch.rst b/third_party/coverage-3.7.1/doc/branch.rst
similarity index 94%
rename from third_party/coverage-3.6/doc/branch.rst
rename to third_party/coverage-3.7.1/doc/branch.rst
index 13b9dc6de6ec2948df4a22b45e57bc517630954a..f6b3ac81980d14fded4e3f001566914a95d19b77 100644
--- a/third_party/coverage-3.6/doc/branch.rst
+++ b/third_party/coverage-3.7.1/doc/branch.rst
@@ -73,8 +73,8 @@ __ http://ivory.idyll.org/blog
Excluding code
--------------
-If you have :ref:`excluded code <excluding>`, a condtional will not be
-counted as a branch if one of its choices is excluded::
+If you have :ref:`excluded code <excluding>`, a condtional will not be counted
+as a branch if one of its choices is excluded::
def only_one_choice(x):
if x:
@@ -84,8 +84,8 @@ counted as a branch if one of its choices is excluded::
# x is always true.
blah3()
-Because the ``else`` clause is excluded, the ``if`` only has one possible
-next line, so it isn't considered a branch at all.
+Because the ``else`` clause is excluded, the ``if`` only has one possible next
+line, so it isn't considered a branch at all.
Structurally partial branches
@@ -115,6 +115,6 @@ pragma::
break
Here the while loop will never complete because the break will always be taken
-at some point. Coverage.py can't work that out on its own, but the
-"no branch" pragma indicates that the branch is known to be partial, and
-the line is not flagged.
+at some point. Coverage.py can't work that out on its own, but the "no branch"
+pragma indicates that the branch is known to be partial, and the line is not
+flagged.
« no previous file with comments | « third_party/coverage-3.7.1/doc/api.rst ('k') | third_party/coverage-3.7.1/doc/changes.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698