mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-04 07:01:16 +08:00
132aa8bbd3
The context manager searches for __warningregistry__ entries that Python leaves all over the place, clearing them, thereby ensuring that warnings will always be raised. This is necessary for the test suite to detect warnings even if they were raised before under the "once" filter.