From 18786992bb0b77496d45ed998fb922c50309a0d1 Mon Sep 17 00:00:00 2001 From: Albert Tugushev Date: Sat, 19 Oct 2019 14:50:01 +0700 Subject: Update doc to use contextlib2.nullcontext nullcontext has been backported in contextlib2==0.6.0 --- doc/en/example/parametrize.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.3