In brief
warnings.warn() reports a condition that does not normally require immediate termination. Filters can display, hide or turn selected warnings into exceptions.
Useful to know
warnings.warn() reports a condition that does not normally require immediate termination. Filters can display, hide or turn selected warnings into exceptions. [1]
This helps with deprecated interfaces. A test environment can demand stricter handling without changing every call. Do not silence all warnings by habit, because that removes information about approaching compatibility problems.
Sources
For further detail and to check the information: