@@ -5544,7 +5544,10 @@ class TestMyAppCase(Cmd2TestCase):
5544
5544
verinfo = "." .join (map (str , sys .version_info [:3 ]))
5545
5545
num_transcripts = len (transcripts_expanded )
5546
5546
plural = '' if len (transcripts_expanded ) == 1 else 's'
5547
- self .poutput (su .align_center (' cmd2 transcript test ' , character = self .ruler ), style = Style (bold = True ))
5547
+ self .poutput (
5548
+ Rule ("cmd2 transcript test" , style = Style .null ()),
5549
+ style = Style (bold = True ),
5550
+ )
5548
5551
self .poutput (f'platform { sys .platform } -- Python { verinfo } , cmd2-{ cmd2 .__version__ } , readline-{ rl_type } ' )
5549
5552
self .poutput (f'cwd: { os .getcwd ()} ' )
5550
5553
self .poutput (f'cmd2 app: { sys .argv [0 ]} ' )
@@ -5560,9 +5563,8 @@ class TestMyAppCase(Cmd2TestCase):
5560
5563
execution_time = time .time () - start_time
5561
5564
if test_results .wasSuccessful ():
5562
5565
self .perror (stream .read (), end = "" , style = None )
5563
- finish_msg = f' { num_transcripts } transcript{ plural } passed in { execution_time :.3f} seconds '
5564
- finish_msg = su .align_center (finish_msg , character = self .ruler )
5565
- self .psuccess (finish_msg )
5566
+ finish_msg = f'{ num_transcripts } transcript{ plural } passed in { execution_time :.3f} seconds'
5567
+ self .psuccess (Rule (finish_msg , style = Style .null ()))
5566
5568
else :
5567
5569
# Strip off the initial traceback which isn't particularly useful for end users
5568
5570
error_str = stream .read ()
0 commit comments