Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Commit 0655561

Browse files
committed
Force to use always the same .tex filename output
It differs in Sphinx1.8 and the rest. So, forcing its name to be always the same in tests.
1 parent 7a1d9e4 commit 0655561

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

tests/examples/default/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@
55
'sphinx.ext.autosectionlabel',
66
'hoverxref.extension',
77
]
8+
9+
latex_documents = [
10+
(master_doc, 'test.tex', u'test Documentation',
11+
u'test', 'manual'),
12+
]

tests/test_internals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
)
1919
def test_dont_override_translator_non_html_builder(app, status, warning):
2020
app.build()
21-
path = app.outdir / 'python.tex'
21+
path = app.outdir / 'test.tex'
2222
assert path.exists() is True
2323
content = open(path).read()
2424

0 commit comments

Comments
 (0)