Skip to content

Commit a16a6c3

Browse files
update tests
1 parent 1eab4f9 commit a16a6c3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Lib/test/test_tools/test_msgfmt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ def test_binary_header(self):
6666
self.assertEqual(num_strings, 9)
6767
self.assertEqual(orig_table_offset, 28)
6868
self.assertEqual(trans_table_offset, 100)
69-
self.assertEqual(hash_table_size, 0)
70-
self.assertEqual(hash_table_offset, 0)
69+
self.assertEqual(hash_table_size, 13)
70+
self.assertEqual(hash_table_offset, 172)
7171

7272
def test_translations(self):
7373
with open(data_dir / 'general.mo', 'rb') as f:

Tools/i18n/msgfmt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
66
This program converts a textual Uniforum-style message catalog (.po file) into
77
a binary GNU catalog (.mo file). This is essentially the same function as the
8-
GNU msgfmt program, however, it is a simpler implementation. Currently it
9-
does not handle plural forms but it does handle message contexts.
8+
GNU msgfmt program. Currently it does not handle plural forms but it does
9+
handle message contexts.
1010
1111
Usage: msgfmt.py [OPTIONS] filename.po
1212

0 commit comments

Comments
 (0)