mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-11-02 20:30:30 -06:00
pytest: remove deprecated with_tempdir decorator
This commit is contained in:
1 parent
380dd23d9f
commit
d0a33dd785
6 files changed
+5
-28
No files matched your search
+1
-2
@@ -18,7 +18,7 @@ from textwrap import dedent
|
||||
from sphinx.errors import SphinxError
|
||||
import sphinx.builders.linkcheck
|
||||
|
||||
from util import with_app, with_tempdir, rootdir, tempdir, SkipTest, TestApp, path
|
||||
from util import with_app, rootdir, tempdir, SkipTest, TestApp, path
|
||||
|
||||
try:
|
||||
from docutils.writers.manpage import Writer as ManWriter
|
||||
@@ -77,7 +77,6 @@ def test_build_all():
|
||||
yield verify_build, buildername, srcdir
|
||||
|
||||
|
||||
@with_tempdir
|
||||
def test_master_doc_not_found(tempdir):
|
||||
(tempdir / 'conf.py').write_text('master_doc = "index"')
|
||||
assert tempdir.listdir() == ['conf.py']
|
||||
|
||||
Reference in new issue
Block a user