vice.VisibleRuntimeWarningΒΆ
A RuntimeWarning
which - contrary to the python default
RuntimeWarning
- is visible by default. Features which raise this
warning may take considerably longer to finish than otherwise.
Signature: vice.VisibleRuntimeWarning
New in version 1.1.0.
Although it is not recommended, this class of warnings can be silenced via:
>>> warnings.filterwarnings("ignore",
category = vice.VisibleRuntimeWarning)
Alternatively, to silence all errors within VICE:
>>> vice.warnings.filterwarnings("ignore")
To silence all warnings globally:
>>> warnings.filterwarnings("ignore")