From 03e8ace5014ed0dd0acb883b76e231fc6ef4352c Mon Sep 17 00:00:00 2001 From: Mukund Ananthu Date: Mon, 29 Jan 2024 15:19:10 -0500 Subject: [PATCH] Silence Deprecation Warning * Warning currently blocks https://github.com/googleapis/python-pubsub/pull/1064 * Silencing warning since it is expected * Warning considered safe to ignore since tests are working as intended --- pytest.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index 49de304e3..bc1e40e54 100644 --- a/pytest.ini +++ b/pytest.ini @@ -7,4 +7,6 @@ filterwarnings = # Remove once https://github.com/grpc/grpc/issues/35086 is fixed ignore:There is no current event loop:DeprecationWarning:grpc.aio._channel # 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 \ No newline at end of file + ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning + # Silence warning blocking https://github.com/googleapis/python-pubsub/pull/1064 + ignore:DeprecationWarning: The return_immediately flag is deprecated and should be set to False. \ No newline at end of file