aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_runners.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/test_runners.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_runners.py b/tests/test_runners.py
index c0baf02b..a0613b33 100644
--- a/tests/test_runners.py
+++ b/tests/test_runners.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 unittest
import email
+try:
+ from Mailman import __init__
+except ImportError:
+ import paths
from Mailman.Queue.NewsRunner import prepare_message