diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-01-08 01:30:15 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-01-08 01:30:25 +0900 |
| commit | 66228fb60facd99b5176a49a68dfe78b5c342a4f (patch) | |
| tree | b4a166aec36520c14845a64dc378b38c73943f4e /tests/test_markup.py | |
| parent | 064c80336f389593c268cf949ac665cca1b84ca6 (diff) | |
| download | sphinx-git-66228fb60facd99b5176a49a68dfe78b5c342a4f.tar.gz | |
Fix #5906: LaTeX Builder is not initialized correctly on test_markup
Diffstat (limited to 'tests/test_markup.py')
| -rw-r--r-- | tests/test_markup.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_markup.py b/tests/test_markup.py index 218dc0c83..1f8b5ff3c 100644 --- a/tests/test_markup.py +++ b/tests/test_markup.py @@ -90,8 +90,7 @@ def verify_re_latex(app, parse): document = parse(rst) app.builder = LaTeXBuilder(app) app.builder.set_environment(app.env) - app.builder.init_context() - app.builder.init_babel() + app.builder.init() latex_translator = ForgivingLaTeXTranslator(document, app.builder) latex_translator.first_document = -1 # don't write \begin{document} document.walkabout(latex_translator) |
