mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-28 11:25:42 +08:00
added nx check in test
This commit is contained in:
@@ -100,6 +100,7 @@ def test_cut_normalized():
|
||||
assert new_labels.max() == 1
|
||||
|
||||
|
||||
@skipif(not is_installed('networkx'))
|
||||
def test_rag_error():
|
||||
img = np.zeros((10, 10, 3), dtype='uint8')
|
||||
labels = np.zeros((10, 10), dtype='uint8')
|
||||
|
||||
Reference in New Issue
Block a user