Skip to content

Commit 9d91f12

Browse files
committed
Make explicit how mo files can be re-generated.
1 parent 3120add commit 9d91f12

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

Lib/test/test_tools/test_msgfmt.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
"""Tests for the Tools/i18n/msgfmt.py tool."""
1+
"""Tests for the Tools/i18n/msgfmt.py tool.
2+
3+
Those tests use data files (po and mo) in the msgfmt_data folder.
4+
The mo files can be generated (if the po file changes, or if msgfmt.py
5+
slightly changes its output format) by using the --snapshot-update flag
6+
with this script:
7+
8+
python test_msgfmt.py --snapshot-update
9+
"""
210

311
import filecmp
412
import os

0 commit comments

Comments
 (0)