@@ -134,8 +134,7 @@ def test_nonexistent_file(self):
134134
135135
136136class MultiInputTest (unittest .TestCase ):
137- """Tests for the issue https://github.com/python/cpython/issues/79516
138- msgfmt.py accepts multiple input files
137+ """Tests for multiple input files
139138 """
140139
141140 def test_no_outputfile (self ):
@@ -161,8 +160,7 @@ def test_both_with_outputfile(self):
161160 data_dir / 'file1_fr_crlf.po' ,
162161 data_dir / 'file2_fr_lf.po' )
163162 self .assertTrue (
164- filecmp .cmp (data_dir / 'file12_fr.mo' , 'file12.mo' ),
165- 'Wrong compiled file12.mo' )
163+ filecmp .cmp (data_dir / 'file12_fr.mo' , 'file12.mo' ))
166164
167165 def test_both_without_outputfile (self ):
168166 """Test script without -o option and 2 input files"""
@@ -172,11 +170,9 @@ def test_both_without_outputfile(self):
172170 shutil .copy (data_dir / 'file2_fr_lf.po' , '.' )
173171 assert_python_ok (msgfmt , 'file1_fr_crlf.po' , 'file2_fr_lf.po' )
174172 self .assertTrue (
175- filecmp .cmp (data_dir / 'file1_fr_crlf.mo' , 'file1_fr_crlf.mo' ),
176- 'Wrong compiled file1_fr_crlf.mo' )
173+ filecmp .cmp (data_dir / 'file1_fr_crlf.mo' , 'file1_fr_crlf.mo' ))
177174 self .assertTrue (
178- filecmp .cmp (data_dir / 'file2_fr_lf.mo' , 'file2_fr_lf.mo' ),
179- 'Wrong compiled file2_fr_lf.mo' )
175+ filecmp .cmp (data_dir / 'file2_fr_lf.mo' , 'file2_fr_lf.mo' ))
180176
181177
182178def update_catalog_snapshots ():
0 commit comments