diff options
author | Albert Tugushev <albert@tugushev.ru> | 2019-10-19 14:50:01 +0700 |
---|---|---|
committer | Albert Tugushev <albert@tugushev.ru> | 2019-10-19 15:09:37 +0700 |
commit | 18786992bb0b77496d45ed998fb922c50309a0d1 (patch) | |
tree | 92517cb837120f4f37aff5b01d776000b46ba4a6 /doc | |
parent | 5e7b8d813b851e2a3dc646a523bac621ce6801c3 (diff) | |
download | pytest-18786992bb0b77496d45ed998fb922c50309a0d1.tar.gz |
Update doc to use contextlib2.nullcontext
nullcontext has been backported in contextlib2==0.6.0
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/example/parametrize.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/en/example/parametrize.rst b/doc/en/example/parametrize.rst index 0b94e425c..1220cfb4d 100644 --- a/doc/en/example/parametrize.rst +++ b/doc/en/example/parametrize.rst @@ -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 |