b434a5bca88eb9078b4126f123665c2feee500dc,skimage/restoration/tests/test_denoise.py,,test_denoise_bilateral_nan,#,225
Before Change
def test_denoise_bilateral_nan():
img = np.full((50, 50), np.NaN)
out = assert_warns(RuntimeWarning, restoration.denoise_bilateral,
img, multichannel=False)
assert_equal(img, out)
def test_denoise_nl_means_2d():
After Change
img = np.full((50, 50), np.NaN)
// This is in fact an optional warning for our test suite.
// Python 3.5 will not trigger a warning.
with expected_warnings(["invalid|\A\Z"]):
out = restoration.denoise_bilateral(img, multichannel=False)
assert_equal(img, out)
def test_denoise_nl_means_2d():
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: scikit-image/scikit-image
Commit Name: b434a5bca88eb9078b4126f123665c2feee500dc
Time: 2018-06-09
Author: mark.harfouche@gmail.com
File Name: skimage/restoration/tests/test_denoise.py
Class Name:
Method Name: test_denoise_bilateral_nan
Project Name: scikit-image/scikit-image
Commit Name: 6d16cdfef4c5b78b9184627df2851f6397926b54
Time: 2020-07-12
Author: daswerth@gmail.com
File Name: skimage/feature/tests/test_corner.py
Class Name:
Method Name: test_structure_tensor_eigvals
Project Name: scikit-image/scikit-image
Commit Name: 9ce31f7b61bd03877727ebf0ea94fd1505da61e7
Time: 2019-08-25
Author: egor.v.panfilov@gmail.com
File Name: skimage/morphology/tests/test_convex_hull.py
Class Name:
Method Name: test_object