[issue38108] Everything in Mock should inherit from Base

Lisa Roach report at bugs.python.org
Wed Sep 11 10:00:00 EDT 2019


Lisa Roach <lisaroach14 at gmail.com> added the comment:

Also:

_AsyncIterator
_AwaitEvent

Some of the code in AsyncMagicMixin might be able to be simplified if we inherit from MagicMixin instead, right now we might be duplicating work.

In general we have to watch out for duplication/overwriting of attributes with this change.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38108>
_______________________________________


More information about the Python-bugs-list mailing list