Merge pull request #6006 from atugushev/update-doc-contextlib2

Update doc to use contextlib2.nullcontext
This commit is contained in:
Florian Bruhin 2019-10-19 14:29:16 +02:00 committed by GitHub
commit 2e11ea6108
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -678,4 +678,4 @@ Or, if desired, you can ``pip install contextlib2`` and use:
.. code-block:: python
from contextlib2 import ExitStack as does_not_raise
from contextlib2 import nullcontext as does_not_raise