Merge 3.5 (issue #28703)

This commit is contained in:
Yury Selivanov 2016-11-15 15:21:07 -05:00
commit 27182bb232
3 changed files with 18 additions and 2 deletions

View file

@ -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)