We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce5425c commit 0ff93d8Copy full SHA for 0ff93d8
pyproject.toml
@@ -174,7 +174,15 @@ disable = [
174
]
175
176
[tool.pytest.ini_options]
177
-addopts = "-W=all -Werror -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning -vv"
+filterwarnings = [
178
+ "error",
179
+ "once::DeprecationWarning",
180
+ "once::PendingDeprecationWarning",
181
+ # We use a raw string (single quote) to avoid the need to escape special
182
+ # chars as this is a regex
183
+ 'ignore:Protobuf gencode version .*exactly one major version older.*:UserWarning',
184
+]
185
+addopts = "-vv"
186
testpaths = ["tests", "src"]
187
asyncio_mode = "auto"
188
asyncio_default_fixture_loop_scope = "function"
0 commit comments