summaryrefslogtreecommitdiff
path: root/tests/test_tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_tasks.py')
-rw-r--r--tests/test_tasks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_tasks.py b/tests/test_tasks.py
index 6541df7..251192a 100644
--- a/tests/test_tasks.py
+++ b/tests/test_tasks.py
@@ -1715,7 +1715,8 @@ class TaskTests(test_utils.TestCase):
self.assertTrue(m_log.error.called)
message = m_log.error.call_args[0][0]
func_filename, func_lineno = test_utils.get_function_source(coro_noop)
- regex = (r'^<CoroWrapper %s\(\) .* at %s:%s, .*> '
+
+ regex = (r'^<CoroWrapper %s\(?\)? .* at %s:%s, .*> '
r'was never yielded from\n'
r'Coroutine object created at \(most recent call last\):\n'
r'.*\n'