module pycode.default_filter_warning

Short summary

module pyquickhelper.pycode.default_filter_warning

Function which filters ou warnings after running the unit test

source on GitHub

Functions

function

truncated documentation

default_filter_warning

Filters out warnings.

Documentation

Function which filters ou warnings after running the unit test

source on GitHub

pyquickhelper.pycode.default_filter_warning.default_filter_warning(w)[source][source]

Filters out warnings.

Parameters

w – warning

Returns

boolean (True to keep it)

Interesting fields: w.message, w.category, w.filename, w.lineno.

source on GitHub