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
|
||||
def test_quickstart_and_build(tmpdir):
|
||||
def test_quickstart_and_build(tempdir):
|
||||
answers = {
|
||||
'Root path': tmpdir,
|
||||
'Root path': tempdir,
|
||||
'Project name': u'Fullwidth characters: \u30c9\u30a4\u30c4',
|
||||
'Author name': 'Georg Brandl',
|
||||
'Project version': '0.1',
|
||||
@ -253,10 +253,10 @@ def test_quickstart_and_build(tmpdir):
|
||||
qs.generate(d)
|
||||
|
||||
app = application.Sphinx(
|
||||
tmpdir, #srcdir
|
||||
tmpdir, #confdir
|
||||
(tmpdir / '_build' / 'html'), #outdir
|
||||
(tmpdir / '_build' / '.doctree'), #doctreedir
|
||||
tempdir, #srcdir
|
||||
tempdir, #confdir
|
||||
(tempdir / '_build' / 'html'), #outdir
|
||||
(tempdir / '_build' / '.doctree'), #doctreedir
|
||||
'html', #buildername
|
||||
status=StringIO(),
|
||||
warning=warnfile)
|
||||
|
Loading…
Reference in New Issue
Block a user