mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove unused monkeypatch fixtures (#12841)
This commit is contained in:
parent
7b6f76b61c
commit
c00388f509
@ -25,7 +25,6 @@ if TYPE_CHECKING:
|
||||
def test_instantiation(
|
||||
tmp_path_factory: pytest.TempPathFactory,
|
||||
rootdir: str | os.PathLike[str] | None,
|
||||
monkeypatch: pytest.MonkeyPatch,
|
||||
) -> None:
|
||||
# Given
|
||||
src_dir = tmp_path_factory.getbasetemp() / 'root'
|
||||
|
@ -762,7 +762,7 @@ def source_date_year(request, monkeypatch):
|
||||
|
||||
|
||||
@pytest.mark.sphinx('html', testroot='copyright-multiline')
|
||||
def test_multi_line_copyright(source_date_year, app, monkeypatch):
|
||||
def test_multi_line_copyright(source_date_year, app):
|
||||
app.build(force_all=True)
|
||||
|
||||
content = (app.outdir / 'index.html').read_text(encoding='utf-8')
|
||||
|
@ -809,9 +809,7 @@ class _MockUnixClock(_MockClock):
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mock_time_and_i18n(
|
||||
monkeypatch: pytest.MonkeyPatch,
|
||||
) -> tuple[pytest.MonkeyPatch, _MockClock]:
|
||||
def mock_time_and_i18n() -> tuple[pytest.MonkeyPatch, _MockClock]:
|
||||
from sphinx.util.i18n import CatalogInfo
|
||||
|
||||
# save the 'original' definition
|
||||
|
Loading…
Reference in New Issue
Block a user