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
commit688ecb98e29d9eb00e865813534e6e597c2b799d (patch)
tree47ff01706b4826103dedca01c13d30c81dbd8b58 /test/test_arcs.py
parent120fcf1560e9b735dbf72ed173c717eef1fff514 (diff)
downloadpython-coveragepy-git-688ecb98e29d9eb00e865813534e6e597c2b799d.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 00567ac6..dea3700f 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):