mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
refactoring: 'tmpdir' rename to 'tempdir' that is same name in other places.
This commit is contained in:
parent
8c543c11cc
commit
dbe60b4e02
@ -240,9 +240,9 @@ def test_generated_files_eol(tempdir):
|
|||||||
|
|
||||||
|
|
||||||
@with_tempdir
|
@with_tempdir
|
||||||
def test_quickstart_and_build(tmpdir):
|
def test_quickstart_and_build(tempdir):
|
||||||
answers = {
|
answers = {
|
||||||
'Root path': tmpdir,
|
'Root path': tempdir,
|
||||||
'Project name': u'Fullwidth characters: \u30c9\u30a4\u30c4',
|
'Project name': u'Fullwidth characters: \u30c9\u30a4\u30c4',
|
||||||
'Author name': 'Georg Brandl',
|
'Author name': 'Georg Brandl',
|
||||||
'Project version': '0.1',
|
'Project version': '0.1',
|
||||||
@ -253,10 +253,10 @@ def test_quickstart_and_build(tmpdir):
|
|||||||
qs.generate(d)
|
qs.generate(d)
|
||||||
|
|
||||||
app = application.Sphinx(
|
app = application.Sphinx(
|
||||||
tmpdir, #srcdir
|
tempdir, #srcdir
|
||||||
tmpdir, #confdir
|
tempdir, #confdir
|
||||||
(tmpdir / '_build' / 'html'), #outdir
|
(tempdir / '_build' / 'html'), #outdir
|
||||||
(tmpdir / '_build' / '.doctree'), #doctreedir
|
(tempdir / '_build' / '.doctree'), #doctreedir
|
||||||
'html', #buildername
|
'html', #buildername
|
||||||
status=StringIO(),
|
status=StringIO(),
|
||||||
warning=warnfile)
|
warning=warnfile)
|
||||||
|
Loading…
Reference in New Issue
Block a user