potiuk commented on code in PR #46891:
URL: https://github.com/apache/airflow/pull/46891#discussion_r2160059655
##########
airflow-core/tests/unit/utils/test_db.py:
##########
@@ -161,6 +162,10 @@ def test_check_migrations(self):
)
@mock.patch("alembic.command")
def test_upgradedb(self, mock_alembic_command, auth, expected):
+ if PY313 and
"airflow.providers.fab.auth_manager.fab_auth_manager.FabAuthManager" in
str(auth):
+ pytest.skip(
+ "Skipping test for FAB Auth Manager on Python 3.13+ as FAB is
not compatible with 3.13+ yet."
+ )
Review Comment:
Actually - there was a reason - pytest.skipif is decorator and this is
parameterized test and we need to use `auth` parameter - so we can only
implement it as logic in the test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]