mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-28 13:20:14 +08:00
Fix 2.6 compatibility
This commit is contained in:
1 parent
89136157bb
commit
78c0abeb17
1 file changed
+2
-2
@@ -35,8 +35,8 @@ class TestMorphology():
|
||||
for n in range(1, 4):
|
||||
for strel in selems_2D:
|
||||
for func in funcs:
|
||||
output['{}_{}_{}'.format(strel.__name__, n, func.__name__)]\
|
||||
= func(image, strel(n))
|
||||
key = '{0}_{1}_{2}'.format(strel.__name__, n, func.__name__)
|
||||
output[key] = func(image, strel(n))
|
||||
|
||||
return output
|
||||
|
||||
|
||||
Reference in new issue
Block a user