bpo-32088: Display Deprecation in debug mode by vstinner · Pull Request #4474 · python/cpython (original) (raw)

When Python is build is debug mode (Py_DEBUG), DeprecationWarning,
PendingDeprecationWarning and ImportWarning warnings are now
displayed by default.

test_venv: run "-m pip" and "-m ensurepip._uninstall" with -W
ignore::DeprecationWarning since pip code is not part of Python.

https://bugs.python.org/issue32088