mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Merge 3.5 (issue #28703)
This commit is contained in:
commit
27182bb232
3 changed files with 18 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue