From 0f90296fe4617e8d4565553cec47f3a630bc9670 Mon Sep 17 00:00:00 2001 From: Joshua Oreman Date: Tue, 5 Feb 2019 13:42:43 -0800 Subject: [PATCH] yapf --- trio/_core/tests/test_run.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/trio/_core/tests/test_run.py b/trio/_core/tests/test_run.py index a6ed154ab0..c6d3298bcd 100644 --- a/trio/_core/tests/test_run.py +++ b/trio/_core/tests/test_run.py @@ -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