diff options
Diffstat (limited to 'sphinx/testing/fixtures.py')
-rw-r--r-- | sphinx/testing/fixtures.py | 4 |
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 |