From 268a9d582161c7d6ffec8de6b044916db5248822 Mon Sep 17 00:00:00 2001 From: Martin Lehmann Date: Tue, 17 Dec 2024 11:41:38 +0100 Subject: [PATCH] test: Fail on unraisable exceptions --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 01fe2aec..059cc624 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -153,6 +153,7 @@ ignore_missing_imports = true [tool.pytest.ini_options] addopts = """ + -W error::pytest.PytestUnraisableExceptionWarning --import-mode=importlib --strict-config --strict-markers