Using `python -W error …` to detect deprecations.