summaryrefslogtreecommitdiff
path: root/test/test_arcs.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2013-01-12 22:11:27 -0500
committerNed Batchelder <ned@nedbatchelder.com>2013-01-12 22:11:27 -0500
commit9f9ebf36da2bd5fc5e5fe2db36b922e9699852b9 (patch)
tree56a8083ac60619fab08d0662f52374f346b792c6 /test/test_arcs.py
parentb633db4938105d286afa3eae6f1aff81d3a6d569 (diff)
downloadpython-coveragepy-git-9f9ebf36da2bd5fc5e5fe2db36b922e9699852b9.tar.gz
More failing branch tests.
Diffstat (limited to 'test/test_arcs.py')
-rw-r--r--test/test_arcs.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/test_arcs.py b/test/test_arcs.py
index 1fce57e3..69c054cc 100644
--- a/test/test_arcs.py
+++ b/test/test_arcs.py
@@ -143,10 +143,11 @@ class SimpleArcTest(CoverageTest):
if 0: # expected failure
def test_lambdas_are_confusing_bug_90(self):
self.check_coverage("""\
- fn = lambda x: x
a = 1
+ fn = lambda x: x
+ b = 3
""",
- arcz=".1 12 2."
+ arcz=".1 12 .2 2-2 23 3."
)
@@ -483,8 +484,8 @@ class ExceptionArcTest(CoverageTest):
arcz=".1 12 23 34 3D 45 56 67 68 7A 8A A3 AB AD BC CD D.",
arcz_missing="3D AB BC CD", arcz_unpredicted="")
- if 0: # expected failure
- def test_finally_in_loop_2(self):
+ if 1: # expected failure
+ def test_finally_in_loop_bug_92(self):
self.check_coverage("""\
for i in range(5):
try: