mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-13 12:40:24 +08:00
Debugging appveyor warning
This commit is contained in:
@@ -78,7 +78,7 @@ def test_low_dynamic_range():
|
||||
|
||||
def test_outside_standard_range():
|
||||
plt.figure()
|
||||
with expected_warnings(["out of standard range|CObject type is marked"]):
|
||||
with expected_warnings(["out of standard range"]):
|
||||
ax_im = io.imshow(im_hi)
|
||||
assert ax_im.get_clim() == (im_hi.min(), im_hi.max())
|
||||
assert n_subplots(ax_im) == 2
|
||||
@@ -88,7 +88,7 @@ def test_outside_standard_range():
|
||||
def test_nonstandard_type():
|
||||
plt.figure()
|
||||
|
||||
with expected_warnings(["Low image dynamic range|CObject type is marked"]):
|
||||
with expected_warnings(["Low image dynamic range"]):
|
||||
ax_im = io.imshow(im64)
|
||||
assert ax_im.get_clim() == (im64.min(), im64.max())
|
||||
assert n_subplots(ax_im) == 2
|
||||
|
||||
Reference in New Issue
Block a user