File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ def __str__(self):
252
252
def message (self ):
253
253
"""formatted message string, including fix message if present"""
254
254
if self .fix_msg :
255
- return '; ' . join (( self .problem_msg , self .fix_msg ))
255
+ return f' { self .problem_msg } ; { self .fix_msg } '
256
256
return self .problem_msg
257
257
258
258
def log_raise (self , logger , error_level = 40 ):
Original file line number Diff line number Diff line change @@ -423,14 +423,11 @@ def test_gifti_coord(capsys):
423
423
gcs .xform = None
424
424
gcs .print_summary ()
425
425
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
- ]
433
- )
426
+ assert captured .out == '''Dataspace: NIFTI_XFORM_UNKNOWN
427
+ XFormSpace: NIFTI_XFORM_UNKNOWN
428
+ Affine Transformation Matrix:
429
+ None
430
+ '''
434
431
gcs .to_xml ()
435
432
436
433
You can’t perform that action at this time.
0 commit comments