Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Add .exp files for async tests, so they can run with Python 3.4.
- Loading branch information
Showing
6 changed files
with
104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
4 | ||
3 | ||
2 | ||
1 | ||
0 | ||
0 | ||
1 | ||
0 | ||
0 | ||
2 | ||
1 | ||
0 | ||
0 | ||
1 | ||
0 | ||
0 | ||
3 | ||
2 | ||
1 | ||
0 | ||
0 | ||
1 | ||
0 | ||
0 | ||
2 | ||
1 | ||
0 | ||
0 | ||
1 | ||
0 | ||
0 | ||
finished |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
wait value: 1 | ||
return from send: message from wait(1) | ||
wait got back: message from main | ||
x = 100 | ||
got StopIteration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
init | ||
aiter | ||
anext | ||
a | ||
anext | ||
b | ||
anext | ||
c | ||
anext | ||
finished |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
init | ||
aiter | ||
f start: 10 | ||
coro yielded: 11 | ||
coro yielded: 12 | ||
f returned: 13 | ||
anext | ||
f start: 20 | ||
coro yielded: 21 | ||
coro yielded: 22 | ||
f returned: 23 | ||
x 0 | ||
anext | ||
f start: 20 | ||
coro yielded: 21 | ||
coro yielded: 22 | ||
f returned: 23 | ||
x 1 | ||
anext | ||
f start: 20 | ||
coro yielded: 21 | ||
coro yielded: 22 | ||
f returned: 23 | ||
x 2 | ||
anext | ||
f start: 20 | ||
coro yielded: 21 | ||
coro yielded: 22 | ||
f returned: 23 | ||
x 3 | ||
anext | ||
f start: 20 | ||
coro yielded: 21 | ||
coro yielded: 22 | ||
f returned: 23 | ||
finished |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
enter | ||
body | ||
exit | ||
finished |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
enter | ||
f start: 10 | ||
coro yielded: 11 | ||
coro yielded: 12 | ||
f returned: 13 | ||
body start | ||
f start: 30 | ||
coro yielded: 31 | ||
coro yielded: 32 | ||
body f returned: 33 | ||
body end | ||
exit | ||
f start: 20 | ||
coro yielded: 21 | ||
coro yielded: 22 | ||
f returned: 23 | ||
finished |