mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-17 12:51:01 +00:00
Ensure PO files are opened as UTF-8 in test_gtranslator()
This commit is contained in:
parent
9108afeee5
commit
18d6eeae76
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class TestGTranslator(unittest.TestCase):
|
|||
def test_gtranslator(self):
|
||||
"""Test all pofiles for GTranslator brokenness."""
|
||||
for f in get_pofiles():
|
||||
with open(f) as fd:
|
||||
with open(f, encoding="UTF-8") as fd:
|
||||
self.check_file(fd, f)
|
||||
|
||||
def check_file(self, fd, f):
|
||||
|
|
|
|||
Loading…
Reference in a new issue