summaryrefslogtreecommitdiff
path: root/tests/test_setup_command.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-02-17 23:46:31 +0000
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-02-18 02:16:50 +0000
commit13442f690183cc2fb724c51af2321164b5ba749d (patch)
tree724024a1ad4d96fc3e22d3a180ee38a37efc0a3c /tests/test_setup_command.py
parentdc1a519a1d76c8fb18500b2093c07fa26c999333 (diff)
downloadsphinx-git-13442f690183cc2fb724c51af2321164b5ba749d.tar.gz
Fix pytest style issues
Diffstat (limited to 'tests/test_setup_command.py')
-rw-r--r--tests/test_setup_command.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_setup_command.py b/tests/test_setup_command.py
index 3f1ed6752..3690bbfcc 100644
--- a/tests/test_setup_command.py
+++ b/tests/test_setup_command.py
@@ -66,7 +66,7 @@ def test_build_sphinx_multiple_invalid_builders(setup_command):
@pytest.fixture()
-def nonascii_srcdir(request, setup_command):
+def _nonascii_srcdir(request, setup_command):
mb_name = '\u65e5\u672c\u8a9e'
srcdir = (setup_command.pkgroot / 'doc')
try:
@@ -90,7 +90,7 @@ def nonascii_srcdir(request, setup_command):
""" % locals())).encode())
-@pytest.mark.usefixtures('nonascii_srcdir')
+@pytest.mark.usefixtures('_nonascii_srcdir')
def test_build_sphinx_with_nonascii_path(setup_command):
proc = setup_command.proc
out, err = proc.communicate()