diff --git a/packages/google-cloud-org-policy/pytest.ini b/packages/google-cloud-org-policy/pytest.ini index 5157ae2feb8b..0c504a466bba 100644 --- a/packages/google-cloud-org-policy/pytest.ini +++ b/packages/google-cloud-org-policy/pytest.ini @@ -20,6 +20,9 @@ filterwarnings = ignore:unclosed:ResourceWarning # Remove after support for Python 3.7 is dropped ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning + # Warnings emitted when testing end of life Python versions + ignore:You are using a non-supported Python version:FutureWarning + ignore:.*Please upgrade to the latest Python version:FutureWarning # Remove warning once https://github.com/googleapis/google-cloud-python/issues/12873 is fixed ignore:Using the synchronous google.api_core.retry.Retry with asynchronous calls may lead to unexpected results:UserWarning # Remove after support for `credentials_file` is dropped in `google-auth` and `gapic-generator`