summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2013-01-12 22:11:35 -0500
committerNed Batchelder <ned@nedbatchelder.com>2013-01-12 22:11:35 -0500
commitcc6a35e05ffdf3e13996dccb38c521adfc1a24fd (patch)
tree72e8758d2e33e429d6b79868cdc93fa9d3e8d17b
parent40105ee97edc055b16f74d4854bee9191171df3e (diff)
parent07e6ef4fd9f819e0302d5a190cde26061a59118c (diff)
downloadpython-coveragepy-cc6a35e05ffdf3e13996dccb38c521adfc1a24fd.tar.gz
Automated merge with ssh://bitbucket.org/ned/coveragepy
-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 1fce57e..69c054c 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: