summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_pep492.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-06-24 14:47:44 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-06-24 14:47:44 (GMT)
commit5ac716251f9ad96120b70319fcc6be67aa383a6b (patch)
tree2b447e7700fcd9daf6768a9d76344930b346172a /Lib/test/test_asyncio/test_pep492.py
parent8f1c99321bfe72d21b01bad71293a7daa1c9e73f (diff)
parent339d5e7d85e6d56e90943ca8940a7e7d0f3f1f6a (diff)
downloadcpython-5ac716251f9ad96120b70319fcc6be67aa383a6b.zip
cpython-5ac716251f9ad96120b70319fcc6be67aa383a6b.tar.gz
cpython-5ac716251f9ad96120b70319fcc6be67aa383a6b.tar.bz2
Fix asyncio unittests in debug mode
Diffstat (limited to 'Lib/test/test_asyncio/test_pep492.py')
-rw-r--r--Lib/test/test_asyncio/test_pep492.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_pep492.py b/Lib/test/test_asyncio/test_pep492.py
index 82bb995..c7d5f21 100644
--- a/Lib/test/test_asyncio/test_pep492.py
+++ b/Lib/test/test_asyncio/test_pep492.py
@@ -142,7 +142,7 @@ class CoroutineTests(BaseTest):
foo_coro = foo()
self.assertRegex(
repr(foo_coro),
- r'<CoroWrapper .*\.foo running at .*pep492.*>')
+ r'<CoroWrapper .*\.foo\(\) running at .*pep492.*>')
with support.check_warnings((r'.*foo.*was never',
RuntimeWarning)):