Derived from the pyupgrade linter.
Fix is always available.
What it does#
Checks for imports of the
mock module that should be replaced with
Why is this bad?#
Since Python 3.3,
mock has been a part of the standard library as
mock package is deprecated; use