From a94fcd9e6602e2f444f53b8aa59575f9a596d362 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Thu, 22 May 2025 05:55:52 +0100 Subject: [PATCH] Remove mypy overrides for ``tests/test_util/test_util_inventory.py`` (#13582) --- pyproject.toml | 1 - tests/test_util/test_util_inventory.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 31c1345c9d..0e7ba8a19b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -288,7 +288,6 @@ module = [ # tests/test_util "tests.test_util.test_util_display", "tests.test_util.test_util_docutils", - "tests.test_util.test_util_inventory", # tests/test_writers "tests.test_writers.test_docutilsconf", ] diff --git a/tests/test_util/test_util_inventory.py b/tests/test_util/test_util_inventory.py index 0cab37d790..5432d8cc5c 100644 --- a/tests/test_util/test_util_inventory.py +++ b/tests/test_util/test_util_inventory.py @@ -107,7 +107,7 @@ def _build_inventory(srcdir: Path) -> Path: return app.outdir / 'objects.inv' -def test_inventory_localization(tmp_path): +def test_inventory_localization(tmp_path: Path) -> None: # Build an app using Estonian (EE) locale srcdir_et = _write_appconfig(tmp_path, 'et') inventory_et = _build_inventory(srcdir_et)