@@ -106,20 +106,20 @@ def test_normalize12_list_outputs():
106106@skipif (no_spm )
107107def test_segment ():
108108 if spm .Info .version ()['name' ] == "SPM12" :
109- yield assert_equal , spm .Segment ._jobtype , 'tools'
110- yield assert_equal , spm .Segment ._jobname , 'oldseg'
109+ yield assert_equal , spm .Segment () ._jobtype , 'tools'
110+ yield assert_equal , spm .Segment () ._jobname , 'oldseg'
111111 else :
112- yield assert_equal , spm .Segment ._jobtype , 'spatial'
113- yield assert_equal , spm .Segment ._jobname , 'preproc'
112+ yield assert_equal , spm .Segment () ._jobtype , 'spatial'
113+ yield assert_equal , spm .Segment () ._jobname , 'preproc'
114114
115115@skipif (no_spm )
116116def test_newsegment ():
117117 if spm .Info .version ()['name' ] == "SPM12" :
118- yield assert_equal , spm .NewSegment ._jobtype , 'spatial'
119- yield assert_equal , spm .NewSegment ._jobname , 'preproc'
118+ yield assert_equal , spm .NewSegment () ._jobtype , 'spatial'
119+ yield assert_equal , spm .NewSegment () ._jobname , 'preproc'
120120 else :
121- yield assert_equal , spm .NewSegment ._jobtype , 'tools'
122- yield assert_equal , spm .NewSegment ._jobname , 'preproc8'
121+ yield assert_equal , spm .NewSegment () ._jobtype , 'tools'
122+ yield assert_equal , spm .NewSegment () ._jobname , 'preproc8'
123123
124124
125125def test_smooth ():
0 commit comments