summaryrefslogtreecommitdiff
path: root/test/test_arcs.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-11-07 19:19:03 -0500
committerNed Batchelder <ned@nedbatchelder.com>2010-11-07 19:19:03 -0500
commitdb2b0562b3be9b51998371f47392c39a980ebf46 (patch)
treef1fb6a397593a00d0c2b4b0de59c4fc7bbc9bfd3 /test/test_arcs.py
parentc6b0876417904a0850ea763a16f81c6e00e3a562 (diff)
downloadpython-coveragepy-git-db2b0562b3be9b51998371f47392c39a980ebf46.tar.gz
This test isn't ready yet, but I don't want it in my working tree for now.
Diffstat (limited to 'test/test_arcs.py')
-rw-r--r--test/test_arcs.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/test_arcs.py b/test/test_arcs.py
index 41731dba..dafe0fbb 100644
--- a/test/test_arcs.py
+++ b/test/test_arcs.py
@@ -420,6 +420,19 @@ 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="")
+ def xxx_xest_finally_in_loop_2(self):
+ self.check_coverage("""\
+ for i in range(5):
+ try:
+ j = 3
+ finally:
+ f = 5
+ g = 6
+ h = 7
+ """,
+ arcz=".1 12 23 35 56 61 17 7.",
+ arcz_missing="", arcz_unpredicted="")
+
if sys.version_info >= (2, 5):
# Try-except-finally was new in 2.5
def test_except_finally(self):