summaryrefslogtreecommitdiff
path: root/src/mailman/tests/test_documentation.py
diff options
context:
space:
mode:
authorBarry Warsaw2011-02-25 18:15:58 -0500
committerBarry Warsaw2011-02-25 18:15:58 -0500
commitdb2777e4aea3b516906a9500a0156d388779292e (patch)
tree6d08a6660226c3d55dd75dae2c20a05680884255 /src/mailman/tests/test_documentation.py
parent51140e885c9e1dc074e1fb3f288f50a8e9add884 (diff)
downloadmailman-db2777e4aea3b516906a9500a0156d388779292e.tar.gz
mailman-db2777e4aea3b516906a9500a0156d388779292e.tar.zst
mailman-db2777e4aea3b516906a9500a0156d388779292e.zip
Diffstat (limited to 'src/mailman/tests/test_documentation.py')
-rw-r--r--src/mailman/tests/test_documentation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/tests/test_documentation.py b/src/mailman/tests/test_documentation.py
index 30bcdccc3..23cc189d0 100644
--- a/src/mailman/tests/test_documentation.py
+++ b/src/mailman/tests/test_documentation.py
@@ -253,7 +253,7 @@ def test_suite():
layer = getattr(sys.modules[package_path], 'layer', SMTPLayer)
for filename in os.listdir(docsdir):
base, extension = os.path.splitext(filename)
- if os.path.splitext(filename)[1] == '.txt':
+ if os.path.splitext(filename)[1] in ('.txt', '.rst'):
module_path = package_path + '.' + base
doctest_files[module_path] = (
os.path.join(docsdir, filename), layer)