Skip to content
UPEEC

warnings

Issue and filter non-fatal warnings (e.g. deprecations).

Easy
Comments 0

warnings.warn("use read_v2()", DeprecationWarning, stacklevel=2); python -W error turns warnings into errors while testing.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.