vice.VisibleDeprecationWarning¶
A DeprecationWarning
which - contrary to the python default
DeprecationWarning
- is visible by default. Features which raise this
warning are deprecated and will be removed in a future release of VICE.
Signature: vice.VisibleDeprecationWarning
New in version 1.1.0.
Although it is not recommended, this class of warnings can be silenced via:
>>> warnings.filterwarnings("ignore",
category = vice.VisibleDeprecationWarning)
Alternatively, to silence all errors within VICE:
>>> vice.warnings.filterwarnings("ignore")
To silence all warnings globally:
>>> warnings.filterwarnings("ignore")