From e4e2489354181d961ba789812c83c4429d0356f9 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Wed, 10 Oct 2018 15:38:14 +0100 Subject: [PATCH] TEST: Resample test takes too long --- tests/test_image.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_image.py b/tests/test_image.py index c722719b2..d468b4b76 100644 --- a/tests/test_image.py +++ b/tests/test_image.py @@ -1047,9 +1047,9 @@ def test_image_resample(seed): fname = op.join(td, 'test.nii') # Random base image shapes - for i in range(50): + for i in range(25): - shape = np.random.randint(5, 100, 3) + shape = np.random.randint(5, 50, 3) make_random_image(fname, shape) img = fslimage.Image(fname, mmap=False) @@ -1061,7 +1061,7 @@ def test_image_resample(seed): # Random resampled image shapes for j in range(10): - rshape = np.random.randint(5, 100, 3) + rshape = np.random.randint(5, 50, 3) resampled, xf = img.resample(rshape, order=0) img.save('base.nii.gz') -- GitLab