summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_tasks.py
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2016-11-15 20:21:07 (GMT)
committerYury Selivanov <yury@magic.io>2016-11-15 20:21:07 (GMT)
commit27182bb23229b61edbb40bd321cfdc183065afc4 (patch)
tree815c15129a304401ded35e1f125b93b00a6ed478 /Lib/test/test_asyncio/test_tasks.py
parent63859aea9b413a3b44ad3c19d750d4a55fae7864 (diff)
parent0ed20cdfb723c68d604eddec0fc66436ce18e9c0 (diff)
downloadcpython-27182bb23229b61edbb40bd321cfdc183065afc4.zip
cpython-27182bb23229b61edbb40bd321cfdc183065afc4.tar.gz
cpython-27182bb23229b61edbb40bd321cfdc183065afc4.tar.bz2
Merge 3.5 (issue #28703)
Diffstat (limited to 'Lib/test/test_asyncio/test_tasks.py')
-rw-r--r--Lib/test/test_asyncio/test_tasks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py
index ad8210b..e048380 100644
--- a/Lib/test/test_asyncio/test_tasks.py
+++ b/Lib/test/test_asyncio/test_tasks.py
@@ -1390,6 +1390,8 @@ class BaseTaskTests:
yield
self.assertTrue(asyncio.iscoroutinefunction(fn2))
+ self.assertFalse(asyncio.iscoroutinefunction(mock.Mock()))
+
def test_yield_vs_yield_from(self):
fut = self.new_future(self.loop)