Skip to content

Commit

Permalink
Turn Python warnings into errors when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dlax committed Apr 3, 2024
1 parent 2f9d3ed commit 4442ee3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
[pytest]
addopts = --doctest-modules
filterwarnings =
error

0 comments on commit 4442ee3

Please sign in to comment.