ashb opened a new pull request, #52258:
URL: https://github.com/apache/airflow/pull/52258

   I guess CI must not run this exact combination of tests together, but prior 
to
   this change if you ran `pytest
   
airflow-core/tests/unit/models/test_dag.py::TestDag::test_bulk_write_to_db_assets
   
airflow-core/tests/unit/plugins/test_plugins_manager.py::TestPluginsManager::test_registering_plugin_listeners`
   you would get a test failure.
   
   The issue was caused by having two fixtures of the same name, a module level
   `clean_plugins`, and a class level one. This is by design in Pytest and is 
how
   to override plugins at different scopes.
   
   This also explains why we had `listener_manager.clear()` in a finally block
   when it should have been handled by the fixture
   


-- 
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

Reply via email to