diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2014-06-16 14:21:57 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2014-06-16 14:21:57 (GMT) |
| commit | 7db27c8ed67fdaa3052c29112d56a46b75f4c5dc (patch) | |
| tree | 01751f654780cf17c092081c779b1d099138feaf /Lib/test/test_asyncio/test_tasks.py | |
| parent | 40ee30181f7f7c71d6b49ceef35b5d3d20b88a6d (diff) | |
| download | cpython-7db27c8ed67fdaa3052c29112d56a46b75f4c5dc.zip cpython-7db27c8ed67fdaa3052c29112d56a46b75f4c5dc.tar.gz cpython-7db27c8ed67fdaa3052c29112d56a46b75f4c5dc.tar.bz2 | |
Issue #21205: Fix unit tests
Diffstat (limited to 'Lib/test/test_asyncio/test_tasks.py')
| -rw-r--r-- | Lib/test/test_asyncio/test_tasks.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py index 92eb9da..42c365d 100644 --- a/Lib/test/test_asyncio/test_tasks.py +++ b/Lib/test/test_asyncio/test_tasks.py @@ -154,10 +154,7 @@ class TaskTests(unittest.TestCase): t = MyTask(gen, loop=self.loop) filename = gen.gi_code.co_filename lineno = gen.gi_frame.f_lineno - # FIXME: check for the name "coro" instead of "notmuch" because - # @asyncio.coroutine drops the name of the wrapped function: - # http://bugs.python.org/issue21205 - self.assertEqual(repr(t), 'T[](<coro at %s:%s>)' % (filename, lineno)) + self.assertEqual(repr(t), 'T[](<notmuch at %s:%s>)' % (filename, lineno)) def test_task_basics(self): @asyncio.coroutine |
