Skip to content

Commit

Permalink
Update test_edge.py
Browse files Browse the repository at this point in the history
line 103 from"mh.sujoy" to "sujoy"
  • Loading branch information
SujoyKG committed Jun 14, 2020
1 parent 4f6e9e4 commit 185c794
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mahotas/tests/test_edge.py
Expand Up @@ -96,11 +96,12 @@ def test_zero_images1():
assert np.isnan(sujoy(np.zeros((16,16)))).sum() == 0
assert np.isnan(sujoy(np.zeros((16,16)), kernel_nhood=1)).sum() == 0
assert sujoy(np.zeros((16,16)), just_filter=True).sum() == 0
assert sujoy(np.zeros((16,16)), just_filter=True, kernel_nhood=1).sum() == 0

def test_sujoy_pure():
f = np.random.random((64, 128))
f2 = f.copy()
_ = mh.sujoy(f)
_ = sujoy(f)
assert np.all(f == f2)

@raises(ValueError)
Expand Down

0 comments on commit 185c794

Please sign in to comment.