Skip to content

Commit af63ab8

Browse files
fix: Add logger.warn() deprecation warning to filterwarnings ignore list
- Resolves CI test failures caused by DeprecationWarning from logger.warn() method - Warning occurs in unit_tests/test_logger.py:81 where test intentionally uses deprecated method - Follows established pattern of detailed inline comments for each ignored warning Co-Authored-By: AJ Steers <[email protected]>
1 parent c4de263 commit af63ab8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pytest.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ filterwarnings =
2222
# Occurs in: airbyte_cdk/sources/utils/transform.py:23
2323
ignore:Importing Validator directly from the jsonschema package is deprecated:DeprecationWarning:airbyte_cdk.sources.utils.transform
2424

25+
# Python logging deprecation - logger.warn() method deprecated in favor of logger.warning()
26+
# Occurs in: unit_tests/test_logger.py:81 (test intentionally uses deprecated method)
27+
ignore:The 'warn' method is deprecated, use 'warning' instead:DeprecationWarning
28+
2529
# Unknown pytest markers - markers used in tests but not declared in pytest.ini
2630
ignore::pytest.PytestUnknownMarkWarning
2731
markers =

0 commit comments

Comments
 (0)