summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/decimal.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index e984edc..f2a677e 100644
--- 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