pydynamicestimator.tests.conftest ================================= .. py:module:: pydynamicestimator.tests.conftest .. autoapi-nested-parse:: Shared pytest fixtures. Two safeguards for the headless test suite: 1. The default ``config`` enables ``small_signal_analysis`` so an interactive ``run.py`` shows the modal report and participation figures. That path ends in a blocking ``plt.show`` and must never fire during tests — so the autouse fixture forces the flag off. A test that exercises the analysis opts back in with ``small_signal_analysis=True`` in ``config.updated(...)``. 2. Importing ``pydynamicestimator.run`` selects the interactive TkAgg backend. The fixture re-forces the non-interactive Agg backend before every test so a stray ``plt.show(block=True)`` is a no-op and can never halt the suite. Functions --------- .. autoapisummary:: pydynamicestimator.tests.conftest._headless_no_blocking_plots Module Contents --------------- .. py:function:: _headless_no_blocking_plots()