diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-06 10:49:07 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-06 10:49:07 +0100 |
commit | 018a921a4471da7ed1468f6f7734e678a31af017 (patch) | |
tree | 0962aa8d800953155214782a8f3761013d50e413 | |
parent | c64dd322caf1fce6c61f4fdfbade537205cf7c9e (diff) | |
download | trollius-018a921a4471da7ed1468f6f7734e678a31af017.tar.gz |
Fix test_tasks.test_task_repr()
-rw-r--r-- | tests/test_tasks.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_tasks.py b/tests/test_tasks.py index 55bb56f..76554c3 100644 --- a/tests/test_tasks.py +++ b/tests/test_tasks.py @@ -107,7 +107,12 @@ class TaskTests(unittest.TestCase): def test_task_repr(self): @tasks.coroutine + def noop(): + pass + + @tasks.coroutine def notmuch(): + yield noop() raise tasks.Return('abc') t = tasks.Task(notmuch(), loop=self.loop) |