mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-03 00:35:25 +08:00
Test that output argument is correct.
This commit is contained in:
@@ -62,6 +62,7 @@ def test_out_argument():
|
||||
out_saved = out.copy()
|
||||
func(img, strel, out=out)
|
||||
testing.assert_(np.any(out != out_saved))
|
||||
testing.assert_array_equal(out, func(img, strel))
|
||||
|
||||
if __name__ == '__main__':
|
||||
testing.run_module_suite()
|
||||
|
||||
Reference in New Issue
Block a user