summaryrefslogtreecommitdiff
path: root/test/test_arcs.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-05-17 10:06:40 -0400
committerNed Batchelder <ned@nedbatchelder.com>2011-05-17 10:06:40 -0400
commitb15092bd6c69c627793f23aa8226403ac940646b (patch)
treee49b4a2a25b03ce7be47b7933dd5304fa1e91bbc /test/test_arcs.py
parentde1177f836d0f881e1c13d4b02e1715ad3d408e1 (diff)
downloadpython-coveragepy-b15092bd6c69c627793f23aa8226403ac940646b.tar.gz
WIP for partial branch exclusion. #113
Diffstat (limited to 'test/test_arcs.py')
-rw-r--r--test/test_arcs.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_arcs.py b/test/test_arcs.py
index dafe0fb..a406b3a 100644
--- a/test/test_arcs.py
+++ b/test/test_arcs.py
@@ -213,15 +213,15 @@ class LoopArcTest(CoverageTest):
i += 1
assert a == 4 and i == 3
""",
- arcz=".1 12 23 34 45 36 63 57 27 7.",
- arcz_missing="27" # while loop never exits naturally.
+ arcz=".1 12 34 45 36 63 57 7.",
+ #arcz_missing="27" # while loop never exits naturally.
)
# With "while True", 2.x thinks it's computation, 3.x thinks it's
# constant.
if sys.version_info >= (3, 0):
- arcz = ".1 12 23 34 45 36 63 57 27 7."
+ arcz = ".1 12 34 45 36 63 57 7."
else:
- arcz = ".1 12 23 34 45 36 62 57 27 7."
+ arcz = ".1 12 34 45 36 62 57 7."
self.check_coverage("""\
a, i = 1, 0
while True:
@@ -232,7 +232,7 @@ class LoopArcTest(CoverageTest):
assert a == 4 and i == 3
""",
arcz=arcz,
- arcz_missing="27" # while loop never exits naturally.
+ #arcz_missing="27" # while loop never exits naturally.
)
def test_for_if_else_for(self):