mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-04 13:00:57 +08:00
Test that output argument is correct.
This commit is contained in:
1 parent
ceb2e4c5d4
commit
4f74a007d9
1 file changed
+1
@@ -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