Skip to content

Commit

Permalink
Hide pytest warnings from the jh3 + sqlalchemy 2 combination
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed May 25, 2023
1 parent 8c59191 commit f700b04
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ target_version = [
addopts = "--verbose --color=yes --durations=10"
asyncio_mode = "auto"
testpaths = ["tests"]
# warnings we can safely ignore stemming from jupyterhub 3 + sqlalchemy 2
filterwarnings = [
'ignore:.*The new signature is "def engine_connect\(conn\)"*:sqlalchemy.exc.SADeprecationWarning',
'ignore:.*The new signature is "def engine_connect\(conn\)"*:sqlalchemy.exc.SAWarning',
]


# tbump is used to simplify and standardize the release process when updating
Expand Down

0 comments on commit f700b04

Please sign in to comment.