-
Notifications
You must be signed in to change notification settings - Fork 151
/
pytest.ini
22 lines (22 loc) · 1.57 KB
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[pytest]
filterwarnings =
# treat all warnings as errors
error
# Remove once https://github.com/protocolbuffers/protobuf/issues/12186 is fixed
ignore:.*custom tp_new.*in Python 3.14:DeprecationWarning
# Remove once Release PR https://github.com/googleapis/python-api-common-protos/pull/191 is merged
ignore:.*pkg_resources.declare_namespace:DeprecationWarning
ignore:.*pkg_resources is deprecated as an API:DeprecationWarning
# Remove once https://github.com/googleapis/python-storage/issues/1193 is fixed
ignore:.*unclosed:ResourceWarning
# Remove once release PR https://github.com/googleapis/proto-plus-python/pull/391 is merged
ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning:proto.datetime_helpers
# Remove once https://github.com/googleapis/python-crc32c/issues/178 is fixed
ignore:.*is using a pure python implementation:RuntimeWarning
# Remove once https://github.com/googleapis/python-storage/issues/1194 is fixed
ignore:datetime.datetime.utcnow\(\) is deprecated:DeprecationWarning
# dateutil is a dependency of pandas
ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning:dateutil.tz.tz
# Remove once https://github.com/googleapis/python-storage/issues/1195 is fixed
ignore:Blob.download_as_string\(\) is deprecated and will be removed in future. Use Blob.download_as_bytes\(\) instead:PendingDeprecationWarning
ignore:Assignment to.*is deprecated, as it is only valid before the bucket is created. Instead, pass the location to.*Bucket.create:DeprecationWarning