summaryrefslogtreecommitdiff
path: root/tests/test_intl.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_intl.py')
-rw-r--r--tests/test_intl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_intl.py b/tests/test_intl.py
index cf7180282..d71521b00 100644
--- a/tests/test_intl.py
+++ b/tests/test_intl.py
@@ -29,7 +29,7 @@ pygments_version = tuple(int(v) for v in pygments.__version__.split('.'))
def read_po(pathname):
- with pathname.open() as f:
+ with pathname.open(encoding='utf-8') as f:
return pofile.read_po(f)