From ae568f6449e34c76b884540bf253c2c88312870a Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Thu, 31 May 2018 22:17:48 +0100
Subject: [PATCH] TEST: Test Image.ndims

---
 tests/test_image.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test_image.py b/tests/test_image.py
index 74e4a9a72..d7365f8d4 100644
--- a/tests/test_image.py
+++ b/tests/test_image.py
@@ -291,6 +291,7 @@ def _test_Image_atts(imgtype):
             assert tuple(i.nibImage.header.get_zooms()) == tuple(pixdims)
 
             assert i.ndim       == expndims
+            assert i.ndims      == expndims
             assert i.dtype      == dtype
             assert i.name       == op.basename(path)
             assert i.dataSource == fslpath.addExt(path,
-- 
GitLab