Skip to content

Commit fe3a60d

Browse files
fry69simonw
authored andcommitted
test: suppress PytestUnraisableExceptionWarning in dateparse_errors
1 parent 56a8e44 commit fe3a60d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_recipes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def test_dayfirst_yearfirst(fresh_db, recipe, kwargs, expected):
6464

6565
@pytest.mark.parametrize("fn", ("parsedate", "parsedatetime"))
6666
@pytest.mark.parametrize("errors", (None, recipes.SET_NULL, recipes.IGNORE))
67+
@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning")
6768
def test_dateparse_errors(fresh_db, fn, errors):
6869
fresh_db["example"].insert_all(
6970
[

0 commit comments

Comments
 (0)