summaryrefslogtreecommitdiff
path: root/tests/test_quickstart.py
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2017-01-06 00:26:01 +0900
committershimizukawa <shimizukawa@gmail.com>2017-01-06 00:26:01 +0900
commitd0a33dd7852b306ed7471dd655921f3380da84df (patch)
tree7707b517c4367a4d02c626c75eee8f9406b8da76 /tests/test_quickstart.py
parent380dd23d9f1a1263a92076e2c2daa97663fa6d5c (diff)
downloadsphinx-git-d0a33dd7852b306ed7471dd655921f3380da84df.tar.gz
pytest: remove deprecated with_tempdir decorator
Diffstat (limited to 'tests/test_quickstart.py')
-rw-r--r--tests/test_quickstart.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/test_quickstart.py b/tests/test_quickstart.py
index 7a77ce225..80d9c60b6 100644
--- a/tests/test_quickstart.py
+++ b/tests/test_quickstart.py
@@ -15,7 +15,7 @@ import time
from six import PY2, text_type, StringIO
from six.moves import input
-from util import raises, with_tempdir, SkipTest
+from util import raises, SkipTest
from sphinx import application
from sphinx import quickstart as qs
@@ -125,7 +125,6 @@ def test_do_prompt_with_nonascii():
assert d['k1'] == u'\u30c9\u30a4\u30c4'
-@with_tempdir
def test_quickstart_defaults(tempdir):
answers = {
'Root path': tempdir,
@@ -163,7 +162,6 @@ def test_quickstart_defaults(tempdir):
assert (tempdir / 'make.bat').isfile()
-@with_tempdir
def test_quickstart_all_answers(tempdir):
answers = {
'Root path': tempdir,
@@ -231,7 +229,6 @@ def test_quickstart_all_answers(tempdir):
assert (tempdir / 'source' / 'contents.txt').isfile()
-@with_tempdir
def test_generated_files_eol(tempdir):
answers = {
'Root path': tempdir,
@@ -252,7 +249,6 @@ def test_generated_files_eol(tempdir):
assert_eol(tempdir / 'Makefile', '\n')
-@with_tempdir
def test_quickstart_and_build(tempdir):
answers = {
'Root path': tempdir,
@@ -278,7 +274,6 @@ def test_quickstart_and_build(tempdir):
assert not warnings
-@with_tempdir
def test_default_filename(tempdir):
answers = {
'Root path': tempdir,
@@ -300,7 +295,6 @@ def test_default_filename(tempdir):
assert ns['texinfo_documents'][0][1] == 'sphinx'
-@with_tempdir
def test_extensions(tempdir):
qs.main(['sphinx-quickstart', '-q',
'-p', 'project_name', '-a', 'author',