@@ -522,7 +522,7 @@ class Test_msgfmt(unittest.TestCase):
522522 bpo-35335 - bpo-9741
523523 """
524524
525- script = os .path .join (toolsdir ,'i18n' , 'msgfmt.py' )
525+ script = os .path .join (toolsdir , 'i18n' , 'msgfmt.py' )
526526
527527 # binary images of tiny po files
528528 # windows end of lines for first one
@@ -651,8 +651,7 @@ def test_help(self):
651651 self .assertTrue (stderr .startswith (
652652 b'Generate binary message catalog from textual'
653653 b' translation description.'
654- )
655- )
654+ ))
656655
657656 def test_wrong (self ):
658657 """Test wrong option"""
@@ -661,8 +660,7 @@ def test_wrong(self):
661660 self .assertTrue (stderr .startswith (
662661 b'Generate binary message catalog from textual'
663662 b' translation description.'
664- )
665- )
663+ ))
666664
667665 def test_outputfile (self ):
668666 """Test script with -o option - 1 single file, Windows EOL"""
@@ -759,7 +757,6 @@ def update_POT_snapshots():
759757 output_file .write_text (output , encoding = 'utf-8' )
760758
761759
762-
763760if __name__ == '__main__' :
764761 # To regenerate POT files
765762 if len (sys .argv ) > 1 and sys .argv [1 ] == '--snapshot-update' :
0 commit comments