diff --git a/doc/en/doctest.rst b/doc/en/doctest.rst index 5a3c76a12..c6e34b2b1 100644 --- a/doc/en/doctest.rst +++ b/doc/en/doctest.rst @@ -113,7 +113,7 @@ lengthy exception stack traces you can just write: .. code-block:: ini [pytest] - doctest_optionflags= NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL + doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL Alternatively, options can be enabled by an inline comment in the doc test itself: