summaryrefslogtreecommitdiff
path: root/Mailman/testing/test_user.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/testing/test_user.py')
-rw-r--r--Mailman/testing/test_user.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/Mailman/testing/test_user.py b/Mailman/testing/test_user.py
index 1c075a164..b66efac62 100644
--- a/Mailman/testing/test_user.py
+++ b/Mailman/testing/test_user.py
@@ -17,14 +17,11 @@
"""Doctest harness for testing users."""
-import doctest
import unittest
-
-options = doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE
+from Mailman.testing.base import make_docfile_suite
def test_suite():
suite = unittest.TestSuite()
- suite.addTest(doctest.DocFileSuite('../docs/users.txt',
- optionflags=options))
+ suite.addTest(make_docfile_suite('../docs/users.txt'))
return suite