summaryrefslogtreecommitdiff
path: root/tests/test_arcs.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-12-25 07:34:09 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-12-25 07:34:09 -0500
commit8b110d3a3f7fbddfcbdaa1b090776e0f388a312e (patch)
tree19a32bf8dce35e63dd8b0a52002af24ac172eda5 /tests/test_arcs.py
parentdd5f8a759843724eaf278a7fa10f6b905d955b34 (diff)
downloadpython-coveragepy-git-8b110d3a3f7fbddfcbdaa1b090776e0f388a312e.tar.gz
Change if-0 skips to real skips in the tests
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r--tests/test_arcs.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py
index df303d8b..18b18fdb 100644
--- a/tests/test_arcs.py
+++ b/tests/test_arcs.py
@@ -140,15 +140,15 @@ class SimpleArcTest(CoverageTest):
arcz=".1 16 6. .2 23 3. 25 5.", arcz_missing="25 5."
)
- if 0: # expected failure
- def test_unused_lambdas_are_confusing_bug_90(self):
- self.check_coverage("""\
- a = 1
- fn = lambda x: x
- b = 3
- """,
- arcz=".1 12 .2 2-2 23 3."
- )
+ def test_unused_lambdas_are_confusing_bug_90(self):
+ self.skip("Expected failure: bug 90")
+ self.check_coverage("""\
+ a = 1
+ fn = lambda x: x
+ b = 3
+ """,
+ arcz=".1 12 .2 2-2 23 3."
+ )
class WithTest(CoverageTest):