mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-20 15:34:08 +02:00
test: suppress PytestUnraisableExceptionWarning in dateparse_errors
This commit is contained in:
parent
e5027f8d19
commit
fd9a8843ea
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ def test_dayfirst_yearfirst(fresh_db, recipe, kwargs, expected):
|
||||||
|
|
||||||
@pytest.mark.parametrize("fn", ("parsedate", "parsedatetime"))
|
@pytest.mark.parametrize("fn", ("parsedate", "parsedatetime"))
|
||||||
@pytest.mark.parametrize("errors", (None, recipes.SET_NULL, recipes.IGNORE))
|
@pytest.mark.parametrize("errors", (None, recipes.SET_NULL, recipes.IGNORE))
|
||||||
|
@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning")
|
||||||
def test_dateparse_errors(fresh_db, fn, errors):
|
def test_dateparse_errors(fresh_db, fn, errors):
|
||||||
fresh_db["example"].insert_all(
|
fresh_db["example"].insert_all(
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue