@@ -155,7 +155,7 @@ def test_origin_checks(self):
155
155
'relative to dims' )
156
156
157
157
158
- class ScalingMixin (object ):
158
+ class ImageScalingMixin (object ):
159
159
# Mixin to add scaling checks to image test class
160
160
# Nifti tests inherits from Analyze tests not Spm Analyze tests. We need
161
161
# these tests for Nifti scaling, hence the mixin.
@@ -385,7 +385,7 @@ def test_nan2zero_range_ok(self):
385
385
assert_equal (rt_img .get_data ()[0 , 0 , 0 ], 0 )
386
386
387
387
388
- class TestSpm99AnalyzeImage (test_analyze .TestAnalyzeImage , ScalingMixin ):
388
+ class TestSpm99AnalyzeImage (test_analyze .TestAnalyzeImage , ImageScalingMixin ):
389
389
# class for testing images
390
390
image_class = Spm99AnalyzeImage
391
391
# Flag to skip bz2 save tests if they are going to break
@@ -408,15 +408,20 @@ class TestSpm99AnalyzeImage(test_analyze.TestAnalyzeImage, ScalingMixin):
408
408
test_analyze .TestAnalyzeImage .test_big_offset_exts
409
409
))
410
410
411
- test_header_scaling = scipy_skip (ScalingMixin .test_header_scaling )
411
+ test_header_scaling = scipy_skip (
412
+ ImageScalingMixin .test_header_scaling )
412
413
413
- test_int_int_scaling = scipy_skip (ScalingMixin .test_int_int_scaling )
414
+ test_int_int_scaling = scipy_skip (
415
+ ImageScalingMixin .test_int_int_scaling )
414
416
415
- test_write_scaling = scipy_skip (ScalingMixin .test_write_scaling )
417
+ test_write_scaling = scipy_skip (
418
+ ImageScalingMixin .test_write_scaling )
416
419
417
- test_no_scaling = scipy_skip (ScalingMixin .test_no_scaling )
420
+ test_no_scaling = scipy_skip (
421
+ ImageScalingMixin .test_no_scaling )
418
422
419
- test_nan2zero_range_ok = scipy_skip (ScalingMixin .test_nan2zero_range_ok )
423
+ test_nan2zero_range_ok = scipy_skip (
424
+ ImageScalingMixin .test_nan2zero_range_ok )
420
425
421
426
@scipy_skip
422
427
def test_mat_read (self ):
0 commit comments