gapic-generator-python
gapic-generator-python copied to clipboard
Catch warnings in flattened tests for deprecated fields in gapic-generator-python
- Currently, the warnings are bubbling up and blocking submission of PRs like: https://github.com/googleapis/python-pubsub/pull/1064
- A temporary silencing of the warning is being added in https://github.com/googleapis/python-pubsub/blob/main/pytest.ini as part of https://github.com/googleapis/python-pubsub/pull/1066. This silencing of warning is to be removed once warnings are no longer bubbled up from the flattened tests.
cc: @parthea
Fixed as part of https://github.com/googleapis/python-pubsub/pull/1066
@mukund-ananthu Please could you file an issue in gapic-generator-python for the long term fix to improve the generated unit tests ? The underlying issue is that deprecation warnings should not bubble up in flattened tests for deprecated fields.
Please could you file an issue in gapic-generator-python for the long term fix to improve the generated unit tests
@parthea Sure. Created https://github.com/googleapis/gapic-generator-python/issues/1937