aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_smtp.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_smtp.py')
-rw-r--r--tests/test_smtp.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_smtp.py b/tests/test_smtp.py
index e9fc49b8..857f968c 100644
--- a/tests/test_smtp.py
+++ b/tests/test_smtp.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2003 by the Free Software Foundation, Inc.
+# Copyright (C) 2003-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
@@ -20,6 +20,10 @@
import email
import unittest
import thread
+try:
+ from Mailman import __init__
+except ImportError:
+ import paths
from Mailman import mm_cfg
from Mailman.Handlers import SMTPDirect