Skip to content

Commit cd51149

Browse files
fix: Suppress warnings caused during pytest runs (#1189)
Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent 3698450 commit cd51149

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pytest.ini

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@ filterwarnings =
1313
# Remove warning once https://github.com/googleapis/gapic-generator-python/issues/1939 is fixed
1414
ignore:get_mtls_endpoint_and_cert_source is deprecated.:DeprecationWarning
1515
# Remove warning once https://github.com/grpc/grpc/issues/35974 is fixed
16-
ignore:unclosed:ResourceWarning
16+
ignore:unclosed:ResourceWarning
17+
# Added to suppress "DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html"
18+
# Remove once the minimum supported version of googleapis-common-protos is 1.62.0
19+
ignore:.*pkg_resources.declare_namespace:DeprecationWarning
20+
ignore:.*pkg_resources is deprecated as an API:DeprecationWarning

0 commit comments

Comments
 (0)