summaryrefslogtreecommitdiff
path: root/tests/test_arcs.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-01-16 11:23:57 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-01-16 11:23:57 -0500
commit233b6368556bd318396b534a7d98e781f12cf0a2 (patch)
tree2c7a8256a5846a0fbcb1849e29da9da9f5e7c016 /tests/test_arcs.py
parent1a5d0393d3b5b6a9a9f5ecebd96325540f145a4b (diff)
downloadpython-coveragepy-233b6368556bd318396b534a7d98e781f12cf0a2.tar.gz
Stop treating yield-from and await as function returns
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r--tests/test_arcs.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py
index 5155264..04dbd15 100644
--- a/tests/test_arcs.py
+++ b/tests/test_arcs.py
@@ -977,7 +977,8 @@ class YieldTest(CoverageTest):
list(gen([1,2,3]))
""",
- arcz=".1 19 9. .2 23 34 45 56 5. 63 37 7.",
+ arcz=".1 19 9. .2 23 34 45 56 63 37 7.",
+ arcz_unpredicted="5.",
)
@@ -1195,8 +1196,9 @@ class AsyncTest(CoverageTest):
""",
arcz=
".1 13 38 8E EF FG G. "
- ".4 45 56 5-3 6-3 "
- ".9 9-8 9C C-8",
+ ".4 45 56 6-3 "
+ ".9 9C C-8",
+ arcz_unpredicted="5-3 9-8",
)
self.assertEqual(self.stdout(), "Compute 1 + 2 ...\n1 + 2 = 3\n")