mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-11 12:43:04 +08:00
Minor fixes
- Use absolute imports so __main__ examples work - PEP8: 2 blank lines
This commit is contained in:
@@ -80,5 +80,6 @@ def test_error_ndim():
|
||||
arr_error = np.random.randn(1, 2, 3, 4)
|
||||
montage2d(arr_error)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
np.testing.run_module_suite()
|
||||
|
||||
@@ -140,5 +140,6 @@ def test_view_as_windows_2D():
|
||||
[13, 14, 15],
|
||||
[17, 18, 19]]]]))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
np.testing.run_module_suite()
|
||||
|
||||
Reference in New Issue
Block a user