summaryrefslogtreecommitdiff
path: root/tests/test_build_gettext.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_build_gettext.py')
-rw-r--r--tests/test_build_gettext.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_build_gettext.py b/tests/test_build_gettext.py
index f72b6f2bb..cd2f489e7 100644
--- a/tests/test_build_gettext.py
+++ b/tests/test_build_gettext.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
"""
test_build_gettext
~~~~~~~~~~~~~~~~~~
@@ -8,7 +7,6 @@
:copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
import gettext
import os
@@ -72,7 +70,7 @@ def test_msgfmt(app):
assert mo.isfile(), 'msgfmt failed'
_ = gettext.translation('test_root', app.outdir, languages=['en']).gettext
- assert _("Testing various markup") == u"Testing various markup"
+ assert _("Testing various markup") == "Testing various markup"
@pytest.mark.sphinx(