summaryrefslogtreecommitdiff
path: root/sphinx/testing/fixtures.py
diff options
context:
space:
mode:
authorJean-François B <2589111+jfbu@users.noreply.github.com>2022-08-06 18:31:14 +0200
committerJean-François B <2589111+jfbu@users.noreply.github.com>2022-08-06 18:31:14 +0200
commit5c82449eca73ef448eb7fdfbcc061cb91d70c18c (patch)
treec4a8394dd9105ba73e2df12c3c5e26cbae501d54 /sphinx/testing/fixtures.py
parent6f530ca3ea305a4c4e077a237fc7196e959a4bb4 (diff)
parent59056aa7816ebae81aa6842290aa7a6ece14d1bd (diff)
downloadsphinx-git-5c82449eca73ef448eb7fdfbcc061cb91d70c18c.tar.gz
Merge branch '5.x'
Diffstat (limited to 'sphinx/testing/fixtures.py')
-rw-r--r--sphinx/testing/fixtures.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/testing/fixtures.py b/sphinx/testing/fixtures.py
index 891f0f7cc..d14438340 100644
--- a/sphinx/testing/fixtures.py
+++ b/sphinx/testing/fixtures.py
@@ -5,7 +5,7 @@ import sys
from collections import namedtuple
from io import StringIO
from subprocess import PIPE
-from typing import Any, Callable, Dict, Generator, Tuple
+from typing import Any, Callable, Dict, Generator, Optional, Tuple
import pytest
@@ -28,7 +28,7 @@ def pytest_configure(config):
@pytest.fixture(scope='session')
-def rootdir() -> str:
+def rootdir() -> Optional[str]:
return None