forked from googleapis/python-firestore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
26 lines (26 loc) · 1.72 KB
/
pytest.ini
File metadata and controls
26 lines (26 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[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 https://github.com/googleapis/python-api-common-protos/pull/187/files is merged
ignore:.*pkg_resources.declare_namespace:DeprecationWarning
ignore:.*pkg_resources is deprecated as an API:DeprecationWarning
# Remove once https://github.com/googleapis/python-firestore/issues/804 is fixed
ignore:.*Detected filter using positional arguments:UserWarning
# Remove once https://github.com/googleapis/python-firestore/pull/716 is merged
ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning
ignore:datetime.datetime.utcnow\(\) is deprecated:DeprecationWarning
# Remove warning once https://github.com/grpc/grpc/issues/35974 is fixed
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
# Remove warning once https://github.com/googleapis/gapic-generator-python/issues/1939 is fixed
ignore:get_mtls_endpoint_and_cert_source is deprecated.:DeprecationWarning
# Remove once credential file support is removed
ignore:.*The \`credentials_file\` argument is deprecated.*:DeprecationWarning
# Remove after updating test dependencies that use asyncio.iscoroutinefunction
ignore:.*\'asyncio.iscoroutinefunction\' is deprecated.*:DeprecationWarning
ignore:.*\'asyncio.get_event_loop_policy\' is deprecated.*:DeprecationWarning
ignore:.*Please upgrade to the latest Python version.*:FutureWarning