twmr / pytest-sphinx

sphinx doctest plugin for pytest
BSD 3-Clause "New" or "Revised" License
29 stars 6 forks source link

test_sphinx_doctest.py: Assert `doctest` directive #35

Closed tony closed 2 years ago

tony commented 2 years ago

See also: .. doctest::

twmr commented 2 years ago

@tony We're running the test-suite also on Windows hosts/containers. Since one of your doctests uses os.sep, the CI fails.

tony commented 2 years ago

@thisch better?

twmr commented 2 years ago

Thx. Looks good now. I've just realized that support for the doctest directive is not mentioned in the README. I'll fix this