From 00734a1c77643129fedc7d1354db983401853153 Mon Sep 17 00:00:00 2001 From: Jeremy Metz Date: Sat, 14 May 2016 18:17:30 +0100 Subject: [PATCH] Fixed missing close brackets on test data creation --- skimage/segmentation/tests/test_clear_border.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/skimage/segmentation/tests/test_clear_border.py b/skimage/segmentation/tests/test_clear_border.py index 4ee297eb..34ba5979 100644 --- a/skimage/segmentation/tests/test_clear_border.py +++ b/skimage/segmentation/tests/test_clear_border.py @@ -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)) @@ -140,7 +140,7 @@ def test_clear_border_non_binary_inplace_3d(): [3, 3, 3, 4, 2], [3, 4, 3, 4, 2], [3, 3, 2, 1, 2]], - ) + ]) result = clear_border(image3d, in_place=True) expected = np.array( @@ -156,7 +156,7 @@ def test_clear_border_non_binary_inplace_3d(): [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]], - ) + ]) assert_array_equal(result, expected) assert_array_equal(image3d, result)