Skip to content

Commit 7d77fcc

Browse files
committed
Turn sqlalchemy.exc.Base20DeprecationWarning into errors in tests
To avoid introducing more warnings between now and a future PR that will switch the future flag to turn these warnings into errors in prod, turn these warning into errors in tests.
1 parent 448d4f6 commit 7d77fcc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[pytest]
22
testpaths = brainzutils
3-
addopts = --cov-report html --cov=brainzutils -W always::DeprecationWarning
3+
addopts = --cov-report html --cov=brainzutils -W always::DeprecationWarning -W error::sqlalchemy.exc.Base20DeprecationWarning
44

55
markers =
66
database: requires access to the musicbrainz sample database

0 commit comments

Comments
 (0)