hermess.tests.conftest

Shared pytest fixtures.

Two safeguards keep the suite headless:

  1. The default config enables small_signal_analysis, whose modal report ends in a blocking plt.show. The autouse fixture forces the flag off; a test that needs the analysis opts back in via config.updated(...).

  2. Importing hermess.run selects the interactive TkAgg backend, so the fixture re-forces the non-interactive Agg backend before every test.

Functions

_headless_no_blocking_plots()

Module Contents

hermess.tests.conftest._headless_no_blocking_plots()[source]