-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make tests fail on warnings; add some warnings to ignore list (#1193)
- Loading branch information
1 parent
1330bbb
commit 260a26f
Showing
3 changed files
with
29 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[pytest] | ||
asyncio_mode = auto | ||
addopts = | ||
-v | ||
filterwarnings = | ||
error | ||
; botocore has this warning that is reported by them to be irrelevant | ||
ignore:.*urllib3.contrib.pyopenssl.*:DeprecationWarning:botocore.* | ||
; latest main of aioresponses does not have this problem, but current package uses deprecated pkg_resources API | ||
ignore:.*pkg_resources.*:DeprecationWarning | ||
; SQLAlchemy uses deprecated APIs internally | ||
ignore:.*dbapi().*:DeprecationWarning | ||
; aiogoogle inherits on top of AioHttpSession, which is not recommended by aiohttp | ||
ignore:Inheritance class AiohttpSession from ClientSession is discouraged:DeprecationWarning | ||
; aiogoogle inherits on top of RetryableAioHttpSession, which is not recommended by aiohttp | ||
ignore:Inheritance class RetryableAiohttpSession from ClientSession is discouraged:DeprecationWarning | ||
; pytest may generate its own warnings in some situations, such as improper usage or deprecated features. | ||
ignore::pytest.PytestUnraisableExceptionWarning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters