Skip to content

Commit

Permalink
TST: Disable sphinx tests when not running on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
BvB93 committed Apr 19, 2023
1 parent 6366545 commit ee2d115
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_sphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
HAS_SPHINX = False
SRCDIR = CONFDIR = 'docs'

@pytest.mark.skipif(not sys.platform.startswith('linux'), reason='Requires Linux')
@pytest.mark.skipif(sys.version_info < (3, 8), reason='Requires Python >=3.8')
@pytest.mark.skipif(not HAS_SPHINX, reason='Requires Sphinx')
def test_sphinx_build(tmp_path: Path) -> None:
Expand Down

0 comments on commit ee2d115

Please sign in to comment.