mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix test_gettext test for python 3.x
This commit is contained in:
parent
f6680c85ca
commit
42279f17bd
@ -67,7 +67,7 @@ def test_gettext(app):
|
|||||||
finally:
|
finally:
|
||||||
os.chdir(cwd)
|
os.chdir(cwd)
|
||||||
|
|
||||||
_ = gettext.translation('test_root', app.outdir, languages=['en']).ugettext
|
_ = gettext.translation('test_root', app.outdir, languages=['en']).gettext
|
||||||
assert _("Testing various markup") == u"Testing various markup"
|
assert _("Testing various markup") == u"Testing various markup"
|
||||||
|
|
||||||
@with_app(buildername='gettext')
|
@with_app(buildername='gettext')
|
||||||
|
Loading…
Reference in New Issue
Block a user