Skip to content

Check deprecation warnings in current builds #2888

@jni

Description

@jni

Description

There's a shitload of deprecation warnings from external packages (NumPy, SciPy) in our current test suite. I don't have time to compile them all now but some of them look serious. Here's the full collection from a recent build:

Details ``` _shared/_tempfile.py::skimage._shared._tempfile.temporary_file /home/travis/build/scikit-image/scikit-image/skimage/io/_io.py:134: UserWarning: /tmp/tmpmzos6f76.tif is a low contrast image warn('%s is a low contrast image' % fname) _shared/_warnings.py::skimage._shared._warnings.all_warnings /home/travis/build/scikit-image/scikit-image/skimage/_shared/_warnings.py:2: RuntimeWarning: bar import sys /home/travis/build/scikit-image/scikit-image/skimage/_shared/_warnings.py:2: RuntimeWarning: bar import sys color/tests/test_adapt_rgb.py::test_each_channel_with_filter_argument /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) color/tests/test_adapt_rgb.py::test_hsv_value_with_filter_argument /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) data/_binary_blobs.py::skimage.data._binary_blobs.binary_blobs /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) data/tests/test_data.py::test_binary_blobs /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) draw/tests/test_random_shapes.py::test_returns_empty_labels_and_white_image_when_cannot_fit_shape /home/travis/build/scikit-image/scikit-image/skimage/draw/_random_shapes.py:317: UserWarning: Could not fit any shapes to image, consider reducing the minimum dimension warn('Could not fit any shapes to image, ' feature/brief.py::skimage.feature.brief.BRIEF /home/travis/venv/lib/python3.5/site-packages/scipy/spatial/distance.py:194: DeprecationWarning: Got unexpected kwarg p. This will raise an error in a future version. ' in a future version.' % k, DeprecationWarning) feature/corner.py::skimage.feature.corner.shape_index /home/travis/build/scikit-image/scikit-image/skimage/feature/corner.py:373: RuntimeWarning: divide by zero encountered in true_divide return (2.0 / np.pi) * np.arctan((l2 + l1) / (l2 - l1)) /home/travis/build/scikit-image/scikit-image/skimage/feature/corner.py:373: RuntimeWarning: invalid value encountered in true_divide return (2.0 / np.pi) * np.arctan((l2 + l1) / (l2 - l1)) feature/orb.py::skimage.feature.orb.ORB /home/travis/venv/lib/python3.5/site-packages/scipy/spatial/distance.py:194: DeprecationWarning: Got unexpected kwarg p. This will raise an error in a future version. ' in a future version.' % k, DeprecationWarning) feature/tests/test_censure.py::test_keypoints_censure_moon_image_octagon /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:24: UserWarning: The default multichannel argument (None) is deprecated. Please specify either True or False explicitly. multichannel will default to False starting with release 0.16. warn('The default multichannel argument (None) is deprecated. Please ' /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:110: UserWarning: Anti-aliasing will be enabled by default in skimage 0.15 to avoid aliasing artifacts when down-sampling images. warn("Anti-aliasing will be enabled by default in skimage 0.15 to " feature/tests/test_censure.py::test_keypoints_censure_moon_image_star /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:24: UserWarning: The default multichannel argument (None) is deprecated. Please specify either True or False explicitly. multichannel will default to False starting with release 0.16. warn('The default multichannel argument (None) is deprecated. Please ' /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:110: UserWarning: Anti-aliasing will be enabled by default in skimage 0.15 to avoid aliasing artifacts when down-sampling images. warn("Anti-aliasing will be enabled by default in skimage 0.15 to " feature/tests/test_corner.py::test_shape_index /home/travis/build/scikit-image/scikit-image/skimage/feature/corner.py:373: RuntimeWarning: divide by zero encountered in true_divide return (2.0 / np.pi) * np.arctan((l2 + l1) / (l2 - l1)) /home/travis/build/scikit-image/scikit-image/skimage/feature/corner.py:373: RuntimeWarning: invalid value encountered in true_divide return (2.0 / np.pi) * np.arctan((l2 + l1) / (l2 - l1)) feature/tests/test_hog.py::test_hog_output_size /home/travis/build/scikit-image/scikit-image/skimage/feature/_hog.py:123: skimage_deprecation: Default value of `block_norm`==`L1` is deprecated and will be changed to `L2-Hys` in v0.15. To supress this message specify explicitly the normalization method. skimage_deprecation) feature/tests/test_hog.py::test_hog_image_size_cell_size_mismatch /home/travis/build/scikit-image/scikit-image/skimage/feature/_hog.py:123: skimage_deprecation: Default value of `block_norm`==`L1` is deprecated and will be changed to `L2-Hys` in v0.15. To supress this message specify explicitly the normalization method. skimage_deprecation) feature/tests/test_hog.py::test_hog_color_image_unsupported_error /home/travis/build/scikit-image/scikit-image/skimage/feature/_hog.py:123: skimage_deprecation: Default value of `block_norm`==`L1` is deprecated and will be changed to `L2-Hys` in v0.15. To supress this message specify explicitly the normalization method. skimage_deprecation) feature/tests/test_hog.py::test_hog_basic_orientations_and_data_types /home/travis/build/scikit-image/scikit-image/skimage/feature/_hog.py:123: skimage_deprecation: Default value of `block_norm`==`L1` is deprecated and will be changed to `L2-Hys` in v0.15. To supress this message specify explicitly the normalization method. skimage_deprecation) feature/tests/test_hog.py::test_hog_orientations_circle /home/travis/build/scikit-image/scikit-image/skimage/feature/_hog.py:123: skimage_deprecation: Default value of `block_norm`==`L1` is deprecated and will be changed to `L2-Hys` in v0.15. To supress this message specify explicitly the normalization method. skimage_deprecation) feature/tests/test_hog.py::test_hog_visualization_orientation /home/travis/build/scikit-image/scikit-image/skimage/feature/_hog.py:123: skimage_deprecation: Default value of `block_norm`==`L1` is deprecated and will be changed to `L2-Hys` in v0.15. To supress this message specify explicitly the normalization method. skimage_deprecation) feature/tests/test_match.py::test_binary_descriptors /home/travis/venv/lib/python3.5/site-packages/scipy/spatial/distance.py:194: DeprecationWarning: Got unexpected kwarg p. This will raise an error in a future version. ' in a future version.' % k, DeprecationWarning) feature/tests/test_match.py::test_binary_descriptors_rotation_crosscheck_false /home/travis/venv/lib/python3.5/site-packages/scipy/spatial/distance.py:194: DeprecationWarning: Got unexpected kwarg p. This will raise an error in a future version. ' in a future version.' % k, DeprecationWarning) feature/tests/test_match.py::test_binary_descriptors_rotation_crosscheck_true /home/travis/venv/lib/python3.5/site-packages/scipy/spatial/distance.py:194: DeprecationWarning: Got unexpected kwarg p. This will raise an error in a future version. ' in a future version.' % k, DeprecationWarning) feature/tests/test_match.py::test_max_distance /home/travis/venv/lib/python3.5/site-packages/scipy/spatial/distance.py:194: DeprecationWarning: Got unexpected kwarg p. This will raise an error in a future version. ' in a future version.' % k, DeprecationWarning) feature/tests/test_match.py::test_max_ratio /home/travis/venv/lib/python3.5/site-packages/scipy/spatial/distance.py:194: DeprecationWarning: Got unexpected kwarg p. This will raise an error in a future version. ' in a future version.' % k, DeprecationWarning) feature/tests/test_register_translation.py::test_3d_input /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) filters/_gaussian.py::skimage.filters._gaussian.gaussian /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) filters/tests/test_gaussian.py::test_negative_sigma /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) filters/tests/test_gaussian.py::test_null_sigma /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) filters/tests/test_gaussian.py::test_default_sigma /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) filters/tests/test_gaussian.py::test_energy_decrease /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) filters/tests/test_gaussian.py::test_preserve_range /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) io/tests/test_pil.py::test_png_round_trip /home/travis/build/scikit-image/scikit-image/skimage/util/dtype.py:123: UserWarning: Possible precision loss when converting from float64 to uint16 .format(dtypeobj_in, dtypeobj_out)) io/tests/test_pil.py::test_imsave_incorrect_dimension /home/travis/build/scikit-image/scikit-image/skimage/io/_io.py:134: UserWarning: /tmp/tmpanwgttmm.png is a low contrast image warn('%s is a low contrast image' % fname) io/tests/test_plugin.py::test_save /home/travis/build/scikit-image/scikit-image/skimage/io/_io.py:134: UserWarning: test.png is a low contrast image warn('%s is a low contrast image' % fname) measure/_find_contours.py::skimage.measure._find_contours.find_contours /home/travis/build/scikit-image/scikit-image/skimage/measure/_find_contours.py:139: PendingDeprecationWarning: generator '_take_2' raised StopIteration for from_point, to_point in points_iterator: measure/_moments.py::skimage.measure._moments.moments_normalized /home/travis/build/scikit-image/scikit-image/skimage/measure/_moments.py:115: UserWarning: Using deprecated 2D-only, xy-coordinate interface to moments_central. This interface will be removed in scikit-image 0.16. Use moments_central(image, center=(cr, cc), order=3). warn(message) measure/fit.py::skimage.measure.fit.ransac /home/travis/build/scikit-image/scikit-image/skimage/measure/fit.py:823: RuntimeWarning: invalid value encountered in less sample_model_inliers = sample_model_residuals < residual_threshold measure/profile.py::skimage.measure.profile.profile_line /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) measure/tests/test_find_contours.py::test_binary /home/travis/build/scikit-image/scikit-image/skimage/measure/_find_contours.py:139: PendingDeprecationWarning: generator '_take_2' raised StopIteration for from_point, to_point in points_iterator: measure/tests/test_find_contours.py::test_float /home/travis/build/scikit-image/scikit-image/skimage/measure/_find_contours.py:139: PendingDeprecationWarning: generator '_take_2' raised StopIteration for from_point, to_point in points_iterator: measure/tests/test_find_contours.py::test_memory_order /home/travis/build/scikit-image/scikit-image/skimage/measure/_find_contours.py:139: PendingDeprecationWarning: generator '_take_2' raised StopIteration for from_point, to_point in points_iterator: measure/tests/test_marching_cubes.py::test_correct_mesh_orientation /home/travis/build/scikit-image/scikit-image/skimage/measure/_marching_cubes_classic.py:239: DeprecationWarning: `correct_mesh_orientation` is deprecated for removal as `marching_cubes_classic` now guarantees correct mesh orientation. warn(DeprecationWarning("`correct_mesh_orientation` is deprecated for " measure/tests/test_profile.py::test_horizontal_rightward /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) measure/tests/test_profile.py::test_horizontal_leftward /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) measure/tests/test_profile.py::test_vertical_downward /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) measure/tests/test_profile.py::test_vertical_upward /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) measure/tests/test_profile.py::test_45deg_right_downward /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) measure/tests/test_profile.py::test_45deg_right_downward_interpolated /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) measure/tests/test_profile.py::test_45deg_right_upward /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) measure/tests/test_profile.py::test_45deg_left_upward /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) measure/tests/test_profile.py::test_45deg_left_downward /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) measure/tests/test_profile.py::test_pythagorean_triangle_right_downward /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) measure/tests/test_profile.py::test_pythagorean_triangle_right_downward_interpolated /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) measure/tests/test_profile.py::test_pythagorean_triangle_right_downward_linewidth /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) measure/tests/test_profile.py::test_pythagorean_triangle_right_upward_linewidth /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) measure/tests/test_profile.py::test_pythagorean_triangle_transpose_left_down_linewidth /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:105: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_col = np.linspace(src_col, dst_col, length) /home/travis/build/scikit-image/scikit-image/skimage/measure/profile.py:106: DeprecationWarning: object of type cannot be safely interpreted as an integer. line_row = np.linspace(src_row, dst_row, length) morphology/watershed.py::skimage.morphology.watershed.watershed /home/travis/venv/lib/python3.5/site-packages/numpy/lib/function_base.py:1931: DeprecationWarning: numpy boolean subtract, the `-` operator, is deprecated, use the bitwise_xor, the `^` operator, or the logical_xor function instead. return a[slice1]-a[slice2] morphology/tests/test_misc.py::test_labeled_image_holes /home/travis/build/scikit-image/scikit-image/skimage/morphology/misc.py:194: UserWarning: Any labeled images will be returned as a boolean array. Did you mean to use a boolean array? "Did you mean to use a boolean array?", UserWarning) morphology/tests/test_misc.py::test_uint_image_holes /home/travis/build/scikit-image/scikit-image/skimage/morphology/misc.py:194: UserWarning: Any labeled images will be returned as a boolean array. Did you mean to use a boolean array? "Did you mean to use a boolean array?", UserWarning) morphology/tests/test_skeletonize_3d.py::test_dtype_conv /home/travis/build/scikit-image/scikit-image/skimage/util/dtype.py:123: UserWarning: Possible precision loss when converting from float64 to uint8 .format(dtypeobj_in, dtypeobj_out)) morphology/tests/test_skeletonize_3d.py::test_skeletonize_num_neighbours /home/travis/build/scikit-image/scikit-image/skimage/util/dtype.py:123: UserWarning: Possible precision loss when converting from float64 to uint8 .format(dtypeobj_in, dtypeobj_out)) morphology/tests/test_skeletonize_3d.py::test_3d_vs_fiji /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) novice/__init__.py::skimage.novice /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:110: UserWarning: Anti-aliasing will be enabled by default in skimage 0.15 to avoid aliasing artifacts when down-sampling images. warn("Anti-aliasing will be enabled by default in skimage 0.15 to " novice/tests/test_novice.py::test_save_with_alpha_channel /home/travis/build/scikit-image/scikit-image/skimage/io/_io.py:134: UserWarning: /tmp/tmpdq37xsxz.jpg is a low contrast image warn('%s is a low contrast image' % fname) restoration/_denoise.py::skimage.restoration._denoise.denoise_bilateral /home/travis/build/scikit-image/scikit-image/skimage/restoration/_denoise.py:78: UserWarning: denoise_bilateral will default to multichannel=False in v0.15 warn('denoise_bilateral will default to multichannel=False in v0.15') restoration/non_local_means.py::skimage.restoration.non_local_means.denoise_nl_means /home/travis/build/scikit-image/scikit-image/skimage/restoration/non_local_means.py:108: UserWarning: denoise_nl_means will default to multichannel=False in v0.15 warn('denoise_nl_means will default to multichannel=False in v0.15') segmentation/active_contour_model.py::skimage.segmentation.active_contour_model.active_contour /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) segmentation/tests/test_active_contour_model.py::test_periodic_reference /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) segmentation/tests/test_active_contour_model.py::test_fixed_reference /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) segmentation/tests/test_active_contour_model.py::test_free_reference /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) segmentation/tests/test_active_contour_model.py::test_RGB /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) segmentation/tests/test_active_contour_model.py::test_end_points /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) segmentation/tests/test_random_walker.py::test_spacing_0 /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:110: UserWarning: Anti-aliasing will be enabled by default in skimage 0.15 to avoid aliasing artifacts when down-sampling images. warn("Anti-aliasing will be enabled by default in skimage 0.15 to " segmentation/tests/test_random_walker.py::test_spacing_1 /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:110: UserWarning: Anti-aliasing will be enabled by default in skimage 0.15 to avoid aliasing artifacts when down-sampling images. warn("Anti-aliasing will be enabled by default in skimage 0.15 to " /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:110: UserWarning: Anti-aliasing will be enabled by default in skimage 0.15 to avoid aliasing artifacts when down-sampling images. warn("Anti-aliasing will be enabled by default in skimage 0.15 to " transform/_warps.py::skimage.transform._warps.rescale /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:24: UserWarning: The default multichannel argument (None) is deprecated. Please specify either True or False explicitly. multichannel will default to False starting with release 0.16. warn('The default multichannel argument (None) is deprecated. Please ' /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:110: UserWarning: Anti-aliasing will be enabled by default in skimage 0.15 to avoid aliasing artifacts when down-sampling images. warn("Anti-aliasing will be enabled by default in skimage 0.15 to " transform/_warps.py::skimage.transform._warps.resize /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:110: UserWarning: Anti-aliasing will be enabled by default in skimage 0.15 to avoid aliasing artifacts when down-sampling images. warn("Anti-aliasing will be enabled by default in skimage 0.15 to " transform/tests/test_radon_transform.py::test_radon_iradon[linear-ramp] /home/travis/build/scikit-image/scikit-image/skimage/transform/radon_transform.py:204: UserWarning: The default of `circle` in `skimage.transform.iradon` will change to `True` in version 0.15. warn('The default of `circle` in `skimage.transform.iradon` ' transform/tests/test_radon_transform.py::test_radon_iradon[linear-shepp-logan] /home/travis/build/scikit-image/scikit-image/skimage/transform/radon_transform.py:204: UserWarning: The default of `circle` in `skimage.transform.iradon` will change to `True` in version 0.15. warn('The default of `circle` in `skimage.transform.iradon` ' transform/tests/test_radon_transform.py::test_radon_iradon[linear-cosine] /home/travis/build/scikit-image/scikit-image/skimage/transform/radon_transform.py:204: UserWarning: The default of `circle` in `skimage.transform.iradon` will change to `True` in version 0.15. warn('The default of `circle` in `skimage.transform.iradon` ' transform/tests/test_radon_transform.py::test_radon_iradon[linear-hamming] /home/travis/build/scikit-image/scikit-image/skimage/transform/radon_transform.py:204: UserWarning: The default of `circle` in `skimage.transform.iradon` will change to `True` in version 0.15. warn('The default of `circle` in `skimage.transform.iradon` ' transform/tests/test_radon_transform.py::test_radon_iradon[linear-hann] /home/travis/build/scikit-image/scikit-image/skimage/transform/radon_transform.py:204: UserWarning: The default of `circle` in `skimage.transform.iradon` will change to `True` in version 0.15. warn('The default of `circle` in `skimage.transform.iradon` ' transform/tests/test_radon_transform.py::test_radon_iradon[nearest-ramp] /home/travis/build/scikit-image/scikit-image/skimage/transform/radon_transform.py:204: UserWarning: The default of `circle` in `skimage.transform.iradon` will change to `True` in version 0.15. warn('The default of `circle` in `skimage.transform.iradon` ' transform/tests/test_radon_transform.py::test_radon_iradon[nearest-shepp-logan] /home/travis/build/scikit-image/scikit-image/skimage/transform/radon_transform.py:204: UserWarning: The default of `circle` in `skimage.transform.iradon` will change to `True` in version 0.15. warn('The default of `circle` in `skimage.transform.iradon` ' transform/tests/test_radon_transform.py::test_radon_iradon[nearest-cosine] /home/travis/build/scikit-image/scikit-image/skimage/transform/radon_transform.py:204: UserWarning: The default of `circle` in `skimage.transform.iradon` will change to `True` in version 0.15. warn('The default of `circle` in `skimage.transform.iradon` ' transform/tests/test_radon_transform.py::test_radon_iradon[nearest-hamming] /home/travis/build/scikit-image/scikit-image/skimage/transform/radon_transform.py:204: UserWarning: The default of `circle` in `skimage.transform.iradon` will change to `True` in version 0.15. warn('The default of `circle` in `skimage.transform.iradon` ' transform/tests/test_radon_transform.py::test_radon_iradon[nearest-hann] /home/travis/build/scikit-image/scikit-image/skimage/transform/radon_transform.py:204: UserWarning: The default of `circle` in `skimage.transform.iradon` will change to `True` in version 0.15. warn('The default of `circle` in `skimage.transform.iradon` ' transform/tests/test_radon_transform.py::test_radon_iradon[cubic-shepp-logan] /home/travis/build/scikit-image/scikit-image/skimage/transform/radon_transform.py:204: UserWarning: The default of `circle` in `skimage.transform.iradon` will change to `True` in version 0.15. warn('The default of `circle` in `skimage.transform.iradon` ' transform/tests/test_radon_transform.py::test_iradon_sart /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:24: UserWarning: The default multichannel argument (None) is deprecated. Please specify either True or False explicitly. multichannel will default to False starting with release 0.16. warn('The default multichannel argument (None) is deprecated. Please ' /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:110: UserWarning: Anti-aliasing will be enabled by default in skimage 0.15 to avoid aliasing artifacts when down-sampling images. warn("Anti-aliasing will be enabled by default in skimage 0.15 to " transform/tests/test_warps.py::test_rescale_multichannel /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " transform/tests/test_warps.py::test_resize2d_4d /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " transform/tests/test_warps.py::test_downsize /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " transform/tests/test_warps.py::test_downsize_anti_aliasing /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " transform/tests/test_warps.py::test_downsize_anti_aliasing_invalid_stddev /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " transform/tests/test_warps.py::test_downscale /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:24: UserWarning: The default multichannel argument (None) is deprecated. Please specify either True or False explicitly. multichannel will default to False starting with release 0.16. warn('The default multichannel argument (None) is deprecated. Please ' /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " transform/tests/test_warps.py::test_downscale_anti_aliasing /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:24: UserWarning: The default multichannel argument (None) is deprecated. Please specify either True or False explicitly. multichannel will default to False starting with release 0.16. warn('The default multichannel argument (None) is deprecated. Please ' /home/travis/build/scikit-image/scikit-image/skimage/transform/_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " util/_montage.py::skimage.util._montage.montage2d /home/travis/build/scikit-image/scikit-image/skimage/util/_montage.py:142: skimage_deprecation: Function ``montage2d`` is deprecated and will be removed in version 0.15. Use ``montage`` instead. def montage2d(arr_in, fill='mean', rescale_intensity=False, grid_shape=None, /home/travis/build/scikit-image/scikit-image/skimage/util/_montage.py:142: skimage_deprecation: Function ``montage2d`` is deprecated and will be removed in version 0.15. Use ``montage`` instead. def montage2d(arr_in, fill='mean', rescale_intensity=False, grid_shape=None, util/tests/test_apply_parallel.py::test_apply_parallel /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) util/tests/test_apply_parallel.py::test_apply_parallel_wrap /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) util/tests/test_apply_parallel.py::test_apply_parallel_nearest /home/travis/build/scikit-image/scikit-image/skimage/filters/_gaussian.py:112: RuntimeWarning: Images with dimensions (M, N, 3) are interpreted as 2D+RGB by default. Use `multichannel=False` to interpret as 3D image with last dimension of length 3. warn(RuntimeWarning(msg)) util/tests/test_montage.py::test_montage2d_simple /home/travis/build/scikit-image/scikit-image/skimage/util/_montage.py:142: skimage_deprecation: Function ``montage2d`` is deprecated and will be removed in version 0.15. Use ``montage`` instead. def montage2d(arr_in, fill='mean', rescale_intensity=False, grid_shape=None, util/tests/test_montage.py::test_montage2d_fill /home/travis/build/scikit-image/scikit-image/skimage/util/_montage.py:142: skimage_deprecation: Function ``montage2d`` is deprecated and will be removed in version 0.15. Use ``montage`` instead. def montage2d(arr_in, fill='mean', rescale_intensity=False, grid_shape=None, util/tests/test_montage.py::test_montage2d_shape /home/travis/build/scikit-image/scikit-image/skimage/util/_montage.py:142: skimage_deprecation: Function ``montage2d`` is deprecated and will be removed in version 0.15. Use ``montage`` instead. def montage2d(arr_in, fill='mean', rescale_intensity=False, grid_shape=None, util/tests/test_montage.py::test_montage2d_grid_shape /home/travis/build/scikit-image/scikit-image/skimage/util/_montage.py:142: skimage_deprecation: Function ``montage2d`` is deprecated and will be removed in version 0.15. Use ``montage`` instead. def montage2d(arr_in, fill='mean', rescale_intensity=False, grid_shape=None, util/tests/test_montage.py::test_montage2d_rescale_intensity /home/travis/build/scikit-image/scikit-image/skimage/util/_montage.py:142: skimage_deprecation: Function ``montage2d`` is deprecated and will be removed in version 0.15. Use ``montage`` instead. def montage2d(arr_in, fill='mean', rescale_intensity=False, grid_shape=None, util/tests/test_montage.py::test_montage2d_simple_padding /home/travis/build/scikit-image/scikit-image/skimage/util/_montage.py:142: skimage_deprecation: Function ``montage2d`` is deprecated and will be removed in version 0.15. Use ``montage`` instead. def montage2d(arr_in, fill='mean', rescale_intensity=False, grid_shape=None, util/tests/test_montage.py::test_montage2d_error_ndim /home/travis/build/scikit-image/scikit-image/skimage/util/_montage.py:142: skimage_deprecation: Function ``montage2d`` is deprecated and will be removed in version 0.15. Use ``montage`` instead. def montage2d(arr_in, fill='mean', rescale_intensity=False, grid_shape=None, -- Docs: http://doc.pytest.org/en/latest/warnings.html ```

Way to reproduce

  • Operating system and version Linux
  • Python version 3.5
  • scikit-image version (run skimage.__version__) master

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions