Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Jul 13, 2015
1 parent 30a67ef commit df18e71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skimage/exposure/tests/test_exposure.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ def test_adapthist_grayscale():
nbins=128)
adapted = exposure.equalize_adapthist(img, kernel_size=(57, 51), clip_limit=0.01, nbins=128)
assert img.shape == adapted.shape
assert_almost_equal(peak_snr(img, adapted), 98.961, 3)
assert_almost_equal(norm_brightness_err(img, adapted), 0.0577, 3)
assert_almost_equal(peak_snr(img, adapted), 101.750, 3)
assert_almost_equal(norm_brightness_err(img, adapted), 0.0540, 3)
return data, adapted


Expand Down

0 comments on commit df18e71

Please sign in to comment.