Merge pull request #7949 from gcamargo1/gcamargo1-patch-1

Update doctest.rst
This commit is contained in:
Ran Benita
2020-10-28 15:56:59 +02:00
committed by GitHub

View File

@@ -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: