diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b821514..64239a76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ * Resolve a warning about usage of a deprecated Python `datetime` API from Python 3.12. +### Misc + +* Turn Python warnings into errors when running the test suite. + ## pg\_activity 3.5.0 - 2024-03-01 ### Added diff --git a/pytest.ini b/pytest.ini index df3eb518..66b7567d 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,2 +1,4 @@ [pytest] addopts = --doctest-modules +filterwarnings = + error