Skip to content

Commit 82361a0

Browse files
committed
Remove mypy overrides for tests/test_util/test_util_display.py
1 parent ad360fd commit 82361a0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ module = [
287287
"tests.test_transforms.test_transforms_reorder_nodes",
288288
# tests/test_util
289289
"tests.test_util.test_util",
290-
"tests.test_util.test_util_display",
291290
"tests.test_util.test_util_docutils",
292291
"tests.test_util.test_util_inventory",
293292
# tests/test_writers

tests/test_util/test_util_display.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_status_iterator_length_0(app: SphinxTestApp) -> None:
4141

4242

4343
@pytest.mark.sphinx('dummy', testroot='root')
44-
def test_status_iterator_verbosity_0(app, monkeypatch):
44+
def test_status_iterator_verbosity_0(app: SphinxTestApp, monkeypatch: pytest.MonkeyPatch) -> None:
4545
monkeypatch.setenv('FORCE_COLOR', '1')
4646
logging.setup(app, app.status, app.warning)
4747

@@ -59,7 +59,7 @@ def test_status_iterator_verbosity_0(app, monkeypatch):
5959

6060

6161
@pytest.mark.sphinx('dummy', testroot='root')
62-
def test_status_iterator_verbosity_1(app, monkeypatch):
62+
def test_status_iterator_verbosity_1(app: SphinxTestApp, monkeypatch: pytest.MonkeyPatch) -> None:
6363
monkeypatch.setenv('FORCE_COLOR', '1')
6464
logging.setup(app, app.status, app.warning)
6565

@@ -107,7 +107,7 @@ def test_progress_message(app: SphinxTestApp) -> None:
107107

108108
# decorator
109109
@progress_message('testing')
110-
def func():
110+
def func() -> None:
111111
logger.info('in func ', nonl=True)
112112

113113
func()

0 commit comments

Comments
 (0)