Skip to content

Commit 2bab60e

Browse files
tests: filter deprecation warnings related to unsupported Python runtimes (#371)
This change suppresses the deprecation warning for Python 3.9 to prevent it from being treated as an error during testing under pytest. Fixes Issue #360 --- *PR created automatically by Jules for task [17628321005402500590](https://jules.google.com/task/17628321005402500590) started by @chalmerlowe* --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
1 parent 2027e26 commit 2bab60e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎packages/google-cloud-dns/pytest.ini‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ filterwarnings =
1414
# Remove after support for Python 3.8 is dropped
1515
ignore:You are using a non-supported Python version \(3\.8:DeprecationWarning
1616
ignore:You are using a non-supported Python version \(3\.8:FutureWarning
17-
# Remove after support for Python 3.9 is dropped
17+
# Remove after support for Python 3.9 is dropped:
1818
ignore:You are using a Python version \(3\.9:FutureWarning
19+
ignore:You are using a non-supported Python version \(3\.9:DeprecationWarning
20+
ignore:You are using a non-supported Python version \(3\.9:FutureWarning
1921
# Remove after support for Python 3.10 is dropped
2022
ignore:.*You are using a Python version \(3\.10:FutureWarning

0 commit comments

Comments
 (0)