diff options
author | Mark Sapiro <mark@msapiro.net> | 2010-07-11 10:03:44 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2010-07-11 10:03:44 -0700 |
commit | 6786292e5070a26e4112625899147d6a56c8f407 (patch) | |
tree | 07b2c7853513d96ab186f4b7b12cec6ac96688b0 /tests/test_safedict.py | |
parent | 4d267c2af1c4703b6d8e9daa690bd06037c4d89e (diff) | |
download | mailman2-6786292e5070a26e4112625899147d6a56c8f407.tar.gz mailman2-6786292e5070a26e4112625899147d6a56c8f407.tar.xz mailman2-6786292e5070a26e4112625899147d6a56c8f407.zip |
Updated unit tests for current Mailman so all tests should pass.
Diffstat (limited to 'tests/test_safedict.py')
-rw-r--r-- | tests/test_safedict.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_safedict.py b/tests/test_safedict.py index 27d6adb3..bf8dd921 100644 --- a/tests/test_safedict.py +++ b/tests/test_safedict.py @@ -1,4 +1,4 @@ -# Copyright (C) 2001 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2010 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -19,6 +19,10 @@ import email import unittest +try: + from Mailman import __init__ +except ImportError: + import paths from Mailman import SafeDict |