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):
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,13 +423,13 @@ 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
- ]
426
+ assert (
427
+ captured . out
428
+ == """ Dataspace: NIFTI_XFORM_UNKNOWN
429
+ XFormSpace: NIFTI_XFORM_UNKNOWN
430
+ Affine Transformation Matrix:
431
+ None
432
+ """
433
433
)
434
434
gcs .to_xml ()
435
435
You can’t perform that action at this time.
0 commit comments