[New-bugs-announce] [issue38108] Everything in Mock should inherit from Base
Lisa Roach
report at bugs.python.org
Wed Sep 11 09:24:30 EDT 2019
New submission from Lisa Roach <lisaroach14 at gmail.com>:
Everything within Mock should be inheriting from the top-level parent class, Base (and properly call super).
For multiple inheritance to work correctly they all should be inheriting from the same parent class ultimately.
Classes that need update:
MagicMixin
AsyncMagicMixin
NonCallableMock (instance = object.__new__(new) should be switched to a super call here)
----------
assignee: lisroach
messages: 351863
nosy: ezio.melotti, lisroach, michael.foord, xtreak
priority: normal
severity: normal
status: open
title: Everything in Mock should inherit from Base
versions: Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38108>
_______________________________________
More information about the New-bugs-announce
mailing list