Skip to content

Commit 1878699

Browse files
committed
Update doc to use contextlib2.nullcontext
nullcontext has been backported in contextlib2==0.6.0
1 parent 5e7b8d8 commit 1878699

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/en/example/parametrize.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,4 +678,4 @@ Or, if desired, you can ``pip install contextlib2`` and use:
678678

679679
.. code-block:: python
680680
681-
from contextlib2 import ExitStack as does_not_raise
681+
from contextlib2 import nullcontext as does_not_raise

0 commit comments

Comments
 (0)