Skip to content

Commit

Permalink
use new channel_axis form in this test
Browse files Browse the repository at this point in the history
  • Loading branch information
grlee77 committed Mar 24, 2021
1 parent 8278a53 commit ddf2ccc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions skimage/feature/tests/test_basic_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ def test_multiscale_basic_features(edges, texture):
img = np.zeros((20, 20, 3))
img[:10] = 1
img += 0.05 * np.random.randn(*img.shape)
with expected_warnings(["'multichannel' is a deprecated argument"]):
features = multiscale_basic_features(img, edges=edges, texture=texture,
multichannel=True)
features = multiscale_basic_features(img, edges=edges, texture=texture,
channel_axis=-1)

n_sigmas = 6
intensity = True
Expand Down

0 comments on commit ddf2ccc

Please sign in to comment.