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
commit24682d3cecd834229fde6e4e09d4380359e3a49a (patch)
tree13361021a96ef12a471af5f12dbade8354497b2b /tests/test_arcs.py
parent866d3f9fe853de9da6ee456a4ed5aa1cfa453e1f (diff)
downloadpython-coveragepy-git-24682d3cecd834229fde6e4e09d4380359e3a49a.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 5155264a..04dbd15a 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")