diff options
author | Yury Selivanov <yury@magic.io> | 2016-11-15 20:21:07 (GMT) |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2016-11-15 20:21:07 (GMT) |
commit | 27182bb23229b61edbb40bd321cfdc183065afc4 (patch) | |
tree | 815c15129a304401ded35e1f125b93b00a6ed478 /Lib/test/test_asyncio/test_tasks.py | |
parent | 63859aea9b413a3b44ad3c19d750d4a55fae7864 (diff) | |
parent | 0ed20cdfb723c68d604eddec0fc66436ce18e9c0 (diff) | |
download | cpython-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.py | 2 |
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) |