Skip to content

Commit

Permalink
yapf
Browse files Browse the repository at this point in the history
  • Loading branch information
oremanj committed Feb 5, 2019
1 parent 75725a8 commit 0f90296
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions trio/_core/tests/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,14 @@ async def main():
# reschedules the task immediately upon yielding, before the
# after_task_step event fires.
expected = (
[("before_run",), ("schedule", task)] +
[("before", task), ("schedule", task), ("after", task)] * 5 +
[("before", task), ("after", task), ("after_run",)]
[("before_run",),
("schedule", task)] +
[("before", task),
("schedule", task),
("after", task)] * 5 + [
("before", task),
("after", task), ("after_run",)
]
)
assert len(r1.record) > len(r2.record) > len(r3.record)
assert r1.record == r2.record + r3.record
Expand Down

0 comments on commit 0f90296

Please sign in to comment.