From 41807ca7ecc747d0a32ce8f28a548b8699f754b4 Mon Sep 17 00:00:00 2001 From: fry69 <142489379+fry69@users.noreply.github.com> Date: Fri, 10 Oct 2025 16:28:12 +0200 Subject: [PATCH] test: suppress PytestUnraisableExceptionWarning in dateparse_errors --- tests/test_recipes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_recipes.py b/tests/test_recipes.py index eca3987..ff04225 100644 --- a/tests/test_recipes.py +++ b/tests/test_recipes.py @@ -64,6 +64,7 @@ def test_dayfirst_yearfirst(fresh_db, recipe, kwargs, expected): @pytest.mark.parametrize("fn", ("parsedate", "parsedatetime")) @pytest.mark.parametrize("errors", (None, recipes.SET_NULL, recipes.IGNORE)) +@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning") def test_dateparse_errors(fresh_db, fn, errors): fresh_db["example"].insert_all( [