summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mailman/model/docs/languages.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman/model/docs/languages.rst b/src/mailman/model/docs/languages.rst
index 7bfb0594d..0fd56d3e5 100644
--- a/src/mailman/model/docs/languages.rst
+++ b/src/mailman/model/docs/languages.rst
@@ -15,6 +15,10 @@ running Mailman instance.
>>> verifyObject(ILanguageManager, mgr)
True
+ # Make a copy of the language manager's dictionary, so we can restore it
+ # after the test. Currently the test layer doesn't manage this.
+ >>> saved = mgr._languages.copy()
+
# The language manager component comes pre-populated; clear it out.
>>> mgr.clear()
@@ -103,10 +107,6 @@ The language manager can forget about all the language codes it knows about.
>>> 'en' in mgr
True
- # Make a copy of the language manager's dictionary, so we can restore it
- # after the test. Currently the test layer doesn't manage this.
- >>> saved = mgr._languages.copy()
-
>>> mgr.clear()
>>> 'en' in mgr
False