mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-03 12:50:25 +08:00
Fixed missing close brackets on test data creation
This commit is contained in:
1 parent
40e161fbb3
commit
c0798fa815
1 file changed
+2
-2
@@ -88,7 +88,7 @@ def test_clear_border_non_binary_3d():
|
||||
[3, 3, 3, 4, 2],
|
||||
[3, 4, 3, 4, 2],
|
||||
[3, 3, 2, 1, 2]],
|
||||
)
|
||||
])
|
||||
|
||||
result = clear_border(image3d)
|
||||
expected = np.array(
|
||||
@@ -104,7 +104,7 @@ def test_clear_border_non_binary_3d():
|
||||
[0, 0, 0, 0, 0],
|
||||
[0, 0, 0, 0, 0],
|
||||
[0, 0, 0, 0, 0]],
|
||||
)
|
||||
])
|
||||
|
||||
assert_array_equal(result, expected)
|
||||
assert_(not np.all(image3d == result))
|
||||
|
||||
Reference in new issue
Block a user