Derived from the flake8-pytest-style linter.
Fix is sometimes available.
What it does#
Checks for uses of assertion methods from the
Why is this bad?#
To make use of
pytest's assertion rewriting, a regular
is preferred over
unittest's assertion methods.