summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2021-08-20 07:55:21 +0200
committerMichele Simionato <michele.simionato@gmail.com>2021-08-20 07:55:21 +0200
commit963a2912e8a673eb0c0fc9d82a41d55b72abe756 (patch)
tree0fc64234ec282c025277f52176666ea63c704902 /src/tests
parent9ff37744f33a5aaf9459c7a9b3c9062f6952c349 (diff)
downloadpython-decorator-git-963a2912e8a673eb0c0fc9d82a41d55b72abe756.tar.gz
Fixed bug in decorator.contextmanager
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/documentation.py4
1 files changed, 2 insertions, 2 deletions
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