diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2013-01-09 18:27:08 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2013-01-09 18:27:08 -0500 |
commit | 1eda2b10b954f54f5fe9f029c627ab4a788a2df2 (patch) | |
tree | 03214ae56fc052a38b739181f80a3a3e0b5a12cb /test | |
parent | 4a86d0f75925f490dbcfe14cd01afb41d0e3a079 (diff) | |
download | python-coveragepy-git-1eda2b10b954f54f5fe9f029c627ab4a788a2df2.tar.gz |
Simplify this test case for #175.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_arcs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_arcs.py b/test/test_arcs.py index fc16c0fb..8870c6c7 100644 --- a/test/test_arcs.py +++ b/test/test_arcs.py @@ -303,7 +303,7 @@ class LoopArcTest(CoverageTest): def test_confusing_for_loop_bug_175(self): self.check_coverage("""\ o = [(1,2), (3,4)] - o = [a for a in o if a[0] > 1] + o = [a for a in o] for tup in o: x = tup[0] y = tup[1] @@ -312,7 +312,7 @@ class LoopArcTest(CoverageTest): arcz_missing="", arcz_unpredicted="") self.check_coverage("""\ o = [(1,2), (3,4)] - for tup in [a for a in o if a[0] > 1]: + for tup in [a for a in o]: x = tup[0] y = tup[1] """, |