projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c134c3
)
bpo-30055: add testcleanup to leave a fresh context (#1094)
author
Marco Buttu
<marco.buttu@gmail.com>
Thu, 13 Apr 2017 11:30:25 +0000
(13:30 +0200)
committer
Stefan Krah
<skrah@bytereef.org>
Thu, 13 Apr 2017 11:30:25 +0000
(13:30 +0200)
Doc/library/decimal.rst
patch
|
blob
|
history
diff --git
a/Doc/library/decimal.rst
b/Doc/library/decimal.rst
index e984edcb75421b60c1114eccb8e1d54a1e8cd8fc..f2a677e6936302e588774781dd28096c077cb892 100644
(file)
--- a/
Doc/library/decimal.rst
+++ b/
Doc/library/decimal.rst
@@
-23,6
+23,11
@@
# make sure each group gets a fresh context
setcontext(Context())
+.. testcleanup:: *
+
+ # make sure other tests (outside this file) get a fresh context
+ setcontext(Context())
+
--------------
The :mod:`decimal` module provides support for fast correctly-rounded