Update doc to use contextlib2.nullcontext

nullcontext has been backported in contextlib2==0.6.0
This commit is contained in:
Albert Tugushev 2019-10-19 14:50:01 +07:00
parent 5e7b8d813b
commit 18786992bb
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