added nx check in test

This commit is contained in:
Vighnesh Birodkar
2015-01-27 21:33:21 +05:30
parent a080aa724a
commit fe5761461d
+1
View File
@@ -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')