[New-bugs-announce] [issue26467] Add async magic method support to unittest.mock.Mock

Brett Cannon report at bugs.python.org
Tue Mar 1 17:51:46 EST 2016


New submission from Brett Cannon:

Mock doesn't support stuff like __aexit__ which means you can't mock out something like an async context manager.

----------
components: Library (Lib)
messages: 261092
nosy: brett.cannon, michael.foord
priority: normal
severity: normal
stage: test needed
status: open
title: Add async magic method support to unittest.mock.Mock
type: enhancement
versions: Python 3.6

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


More information about the New-bugs-announce mailing list