◐ Shell
clean mode source ↗

bpo-38108: Makes mock objects inherit from Base by lisroach · Pull Request #16060 · python/cpython

Updates the few Mock classes that do not inherit from Base to properly inherit from base. Updates the super() calls that should go with them as well.

That was all I planned on doing with this diff, but the changes to get AsyncMock inheritance working right with subclasses was so linked with this diff I merged it into one to prevent temporary breaking changes.

https://bugs.python.org/issue38108