mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-14 11:18:06 +08:00
Move all_warnings to skimage._shared.utils
This commit is contained in:
@@ -4,8 +4,9 @@ import sys
|
||||
|
||||
import six
|
||||
|
||||
from ._warnings import all_warnings
|
||||
|
||||
__all__ = ['deprecated', 'get_bound_method_class']
|
||||
__all__ = ['deprecated', 'get_bound_method_class', 'all_warnings']
|
||||
|
||||
|
||||
class skimage_deprecation(Warning):
|
||||
|
||||
@@ -7,8 +7,6 @@ from .arraypad import pad
|
||||
from ._regular_grid import regular_grid
|
||||
from .unique import unique_rows
|
||||
|
||||
from ._warnings import all_warnings
|
||||
|
||||
|
||||
__all__ = ['img_as_float',
|
||||
'img_as_int',
|
||||
|
||||
@@ -3,7 +3,7 @@ from nose.tools import raises
|
||||
from numpy.testing import assert_equal, assert_warns
|
||||
|
||||
from skimage.util.shape import view_as_blocks, view_as_windows
|
||||
from skimage.util import all_warnings
|
||||
from skimage._shared.utils import all_warnings
|
||||
|
||||
|
||||
@raises(TypeError)
|
||||
|
||||
Reference in New Issue
Block a user