From 963a2912e8a673eb0c0fc9d82a41d55b72abe756 Mon Sep 17 00:00:00 2001 From: Michele Simionato Date: Fri, 20 Aug 2021 07:55:21 +0200 Subject: Fixed bug in decorator.contextmanager --- src/tests/documentation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests/documentation.py') diff --git a/src/tests/documentation.py b/src/tests/documentation.py index 4fa5c9d..5323c4e 100644 --- a/src/tests/documentation.py +++ b/src/tests/documentation.py @@ -599,11 +599,11 @@ a ``__call__`` method, so that they can be used as decorators, like so: ```python >>> ba = before_after('BEFORE', 'AFTER') >>> ->>> @ba # doctest: +SKIP +>>> @ba ... def hello(): ... print('hello') ... ->>> hello() # doctest: +SKIP +>>> hello() BEFORE hello AFTER -- cgit v1.2.1