Taragolis commented on code in PR #38594: URL: https://github.com/apache/airflow/pull/38594#discussion_r1544572827
########## pyproject.toml: ########## @@ -445,7 +445,15 @@ fixture-parentheses = false # * Disable `flaky` plugin for pytest. This plugin conflicts with `rerunfailures` because provide same marker. # * Disable `nose` builtin plugin for pytest. This feature deprecated in 7.2 and will be removed in pytest>=8 # * And we focus on use native pytest capabilities rather than adopt another frameworks. -addopts = "-rasl --verbosity=2 -p no:flaky -p no:nose --asyncio-mode=strict" +addopts = [ + "-rasl", + "--verbosity=2", + "-p", "no:flaky", + "-p", "no:nose", + "-p", "no:legacypath", Review Comment: Well, I thought it doesn't add by a mistake, however seems like our tests use legacy LocalPath in some places ```console @pytest.fixture(autouse=True) def refuse_to_run_test_from_wrongly_named_files(request): > dirname: str = request.node.fspath.dirname E AttributeError: 'Function' object has no attribute 'fspath' ``` -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org