From 19d505e597b0918eb421c80e2a211d6cdf6e666e Mon Sep 17 00:00:00 2001 From: Zac Hatfield-Dodds Date: Mon, 31 Oct 2022 10:31:13 -0700 Subject: [PATCH] Adjust warnings config --- pytest.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pytest.ini b/pytest.ini index 92c555f..67ed440 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,2 +1,7 @@ [pytest] addopts = -ra -v --pyargs pytest_trio --verbose --cov +filterwarnings = + error + default::pytest.PytestAssertRewriteWarning + default::pytest.PytestDeprecationWarning + default::pytest.PytestUnraisableExceptionWarning