@@ -73,8 +73,7 @@ def check_nib_diff_examples(opts=[], hdrs_str="", other_str=""):
73
73
fnames2 = [pjoin (DATA_PATH , f )
74
74
for f in ('example4d.nii.gz' , 'example4d.nii.gz' )]
75
75
code , stdout , stderr = run_command (['nib-diff' ] + fnames , check_code = False )
76
- assert_equal (stdout , "Field /Users/chrischeng/nibabel/nibabel/tests/data/example4d.nii.gz/Users/chrischeng/"
77
- "nibabel/nibabel/tests/data/standard.nii.gz"
76
+ assert_equal (stdout , "Field " + pjoin (DATA_PATH , 'example4d.nii.gz' ) + pjoin (DATA_PATH , 'standard.nii.gz' )
78
77
+ "\n " + "regular b'r' b'' "
79
78
" " + "\n " + "dim_info 57 "
80
79
" 0 "
@@ -113,7 +112,7 @@ def check_nib_diff_examples(opts=[], hdrs_str="", other_str=""):
113
112
" " + "\n " + "DATA: These files are different." )
114
113
115
114
code , stdout , stderr = run_command (['nib-diff' ] + fnames2 , check_code = False )
116
- assert_equal (stdout , "Field /Users/chrischeng/nibabel/nibabel/tests/data/ example4d.nii.gz/Users/chrischeng/nibabel/nibabel/tests/data/ example4d.nii.gz"
115
+ assert_equal (stdout , "Field " + pjoin ( DATA_PATH , ' example4d.nii.gz' ) + pjoin ( DATA_PATH , ' example4d.nii.gz' )
117
116
+ "\n " + "DATA: These files are identical!" )
118
117
119
118
0 commit comments