mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-12 12:50:49 +08:00
adding main to run tests
This commit is contained in:
committed by
Stefan van der Walt
parent
227b209720
commit
81519b7863
@@ -79,3 +79,6 @@ def test_rescale_intensity():
|
||||
def test_error_ndim():
|
||||
arr_error = np.random.randn(1, 2, 3, 4)
|
||||
montage2d(arr_error)
|
||||
|
||||
if __name__ == '__main__':
|
||||
np.testing.run_module_suite()
|
||||
|
||||
@@ -139,3 +139,6 @@ def test_view_as_windows_2D():
|
||||
[9, 10, 11],
|
||||
[13, 14, 15],
|
||||
[17, 18, 19]]]]))
|
||||
|
||||
if __name__ == '__main__':
|
||||
np.testing.run_module_suite()
|
||||
|
||||
Reference in New Issue
Block a user