changeset 12594:bb324910e40a stable

test-doctest: test the modules that contains doctests
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 01 Oct 2010 00:48:51 +0200
parents 01c373762b76
children 0f83a402faa0 10dcfba4f16d
files tests/test-doctest.py
diffstat 1 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-doctest.py	Fri Oct 01 00:48:50 2010 +0200
+++ b/tests/test-doctest.py	Fri Oct 01 00:48:51 2010 +0200
@@ -5,18 +5,13 @@
 import doctest
 
 import mercurial.changelog
-# test doctest from changelog
-
 doctest.testmod(mercurial.changelog)
 
-import mercurial.httprepo
-doctest.testmod(mercurial.httprepo)
-
-import mercurial.util
-doctest.testmod(mercurial.util)
-
 import mercurial.dagparser
 doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE)
 
+import mercurial.url
+doctest.testmod(mercurial.url)
+
 import hgext.convert.cvsps
 doctest.testmod(hgext.convert.cvsps)