diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-08 23:10:30 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-08 23:10:30 -0500 |
commit | 44ae48c70337531a4b47b01e3bbe8a063ce69b0a (patch) | |
tree | 4323a4c63c864a30b063d8147cd9c7c9b9429eb6 | |
parent | d916b3b85dc05301faf243e8903b3a22dc4cf187 (diff) | |
download | python-coveragepy-44ae48c70337531a4b47b01e3bbe8a063ce69b0a.tar.gz |
A nicer way to neuter this test.
-rw-r--r-- | test/test_arcs.py | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/test/test_arcs.py b/test/test_arcs.py index ce55004..a9f7470 100644 --- a/test/test_arcs.py +++ b/test/test_arcs.py @@ -450,18 +450,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 0: + def test_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 |