A pytest plugin providing a set of skip markers based on operating system, Python version, environment variables, and other conditions. Version 1.5.2 (released 2024-07-31) supports Python >=3.8. Maintained by SaltStack.
pip install pytest-skip-markersNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage of skip markers for OS and environment.
Use 'pytest.mark.skip_on_windows' exactly as provided.
Ensure pytest-skip-markers is installed in the test environment.
Use skip_unless_on_linux to run only on Linux; use skip_on_linux to skip on Linux.
For versions <1.5.0, ensure exact case; upgrade to >=1.5.0 for better handling.