File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ def __str__(self):
252252 def message (self ):
253253 """formatted message string, including fix message if present"""
254254 if self .fix_msg :
255- return '; ' . join (( self .problem_msg , self .fix_msg ))
255+ return f' { self .problem_msg } ; { self .fix_msg } '
256256 return self .problem_msg
257257
258258 def log_raise (self , logger , error_level = 40 ):
Original file line number Diff line number Diff line change @@ -423,13 +423,13 @@ def test_gifti_coord(capsys):
423423 gcs .xform = None
424424 gcs .print_summary ()
425425 captured = capsys .readouterr ()
426- assert captured . out == ' \n ' . join (
427- [
428- ' Dataspace: NIFTI_XFORM_UNKNOWN' ,
429- ' XFormSpace: NIFTI_XFORM_UNKNOWN' ,
430- ' Affine Transformation Matrix: ' ,
431- ' None\n ' ,
432- ]
426+ assert (
427+ captured . out
428+ == """ Dataspace: NIFTI_XFORM_UNKNOWN
429+ XFormSpace: NIFTI_XFORM_UNKNOWN
430+ Affine Transformation Matrix:
431+ None
432+ """
433433 )
434434 gcs .to_xml ()
435435
You can’t perform that action at this time.
0 commit comments