File tree Expand file tree Collapse file tree 3 files changed +10
-14
lines changed
Expand file tree Collapse file tree 3 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 1717
1818## Bug Fixes
1919
20- <!-- Here goes notable bug fixes that are worth a special mention or explanation -->
20+ - Updated display of protobuf version warnings
Original file line number Diff line number Diff line change @@ -144,7 +144,15 @@ disable = [
144144]
145145
146146[tool .pytest .ini_options ]
147- addopts = " -W=all -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning -vv"
147+ addopts = " -vv"
148+ filterwarnings = [
149+ " error" ,
150+ " once::DeprecationWarning" ,
151+ " once::PendingDeprecationWarning" ,
152+ # We use a raw string (single quote) to avoid the need to escape special
153+ # chars as this is a regex
154+ ' ignore:Protobuf gencode version .*exactly one major version older.*:UserWarning' ,
155+ ]
148156testpaths = [" tests" , " src" ]
149157asyncio_mode = " auto"
150158asyncio_default_fixture_loop_scope = " function"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments