summaryrefslogtreecommitdiff
path: root/test/test_arcs.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-11-17 22:30:38 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-11-17 22:30:38 -0500
commit4fd78e63c89803d50972df4128f08572bab53581 (patch)
treea2e7e962dcda7becbec77839adbdb87fc6495285 /test/test_arcs.py
parentbde336007c71badfa08b431d6ec53997fe53036d (diff)
downloadpython-coveragepy-4fd78e63c89803d50972df4128f08572bab53581.tar.gz
Ignore the branch of an except clause testing its type, since these aren't conceptually branches. Fixes #35.
Diffstat (limited to 'test/test_arcs.py')
-rw-r--r--test/test_arcs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_arcs.py b/test/test_arcs.py
index 00567ac..dea3700 100644
--- a/test/test_arcs.py
+++ b/test/test_arcs.py
@@ -265,8 +265,8 @@ class ExceptionArcTest(CoverageTest):
assert try_it(0) == 8 # C
assert try_it(1) == 6 # D
""",
- arcz=".1 12 .3 3. 24 4C CD D. .5 56 67 78 8B 9A 9B AB B.",
- arcz_missing="9B", # never got an exception other than ValueError
+ arcz=".1 12 .3 3. 24 4C CD D. .5 56 67 78 8B 9A AB B.",
+ arcz_missing="",
arcz_unpredicted="79")
def test_try_finally(self):