[New-bugs-announce] [issue28634] asyncio.isfuture() should support Mocks

Yury Selivanov report at bugs.python.org
Mon Nov 7 16:00:19 EST 2016


New submission from Yury Selivanov:

In short:

isfuture(unittest.mock.Mock()) should be False
isfuture(unittest.mock.Mock(Future)) should be True

This issue is a proxy for https://github.com/python/asyncio/pull/455

----------
assignee: yselivanov
components: asyncio
messages: 280241
nosy: gvanrossum, yselivanov
priority: normal
severity: normal
stage: resolved
status: open
title: asyncio.isfuture() should support Mocks
type: behavior
versions: Python 3.5, Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28634>
_______________________________________


More information about the New-bugs-announce mailing list