Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

Commit d72c922

Browse files
tests: fix Python 3.8/3.9 deprecation warnings in pytest.ini
Updated the new regexes for `google-auth` warnings to handle leading whitespace/newlines (`.*You are using a Python version 3.X`). Preserved the original regexes for `google-api-core` warnings (`You are using a non-supported Python version (3.X...`) to ensure all warning variants are suppressed. Fixes #374
1 parent ce7bd58 commit d72c922

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pytest.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ 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-
ignore:You are using a Python version 3\.8:FutureWarning
17+
ignore:.*You are using a Python version 3\.8:FutureWarning
1818
# Remove after support for Python 3.9 is dropped:
1919
ignore:You are using a Python version \(3\.9:FutureWarning
20-
ignore:You are using a Python version 3\.9:FutureWarning
20+
ignore:.*You are using a Python version 3\.9:FutureWarning
2121
ignore:You are using a non-supported Python version \(3\.9:DeprecationWarning
2222
ignore:You are using a non-supported Python version \(3\.9:FutureWarning
2323
# Remove after support for Python 3.10 is dropped

0 commit comments

Comments
 (0)