##// END OF EJS Templates
test-doctest: test the modules that contains doctests
Mads Kiilerich -
r12594:bb324910 stable
parent child Browse files
Show More
@@ -1,22 +1,17
1 # this is hack to make sure no escape characters are inserted into the output
1 # this is hack to make sure no escape characters are inserted into the output
2 import os
2 import os
3 if 'TERM' in os.environ:
3 if 'TERM' in os.environ:
4 del os.environ['TERM']
4 del os.environ['TERM']
5 import doctest
5 import doctest
6
6
7 import mercurial.changelog
7 import mercurial.changelog
8 # test doctest from changelog
9
10 doctest.testmod(mercurial.changelog)
8 doctest.testmod(mercurial.changelog)
11
9
12 import mercurial.httprepo
13 doctest.testmod(mercurial.httprepo)
14
15 import mercurial.util
16 doctest.testmod(mercurial.util)
17
18 import mercurial.dagparser
10 import mercurial.dagparser
19 doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE)
11 doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE)
20
12
13 import mercurial.url
14 doctest.testmod(mercurial.url)
15
21 import hgext.convert.cvsps
16 import hgext.convert.cvsps
22 doctest.testmod(hgext.convert.cvsps)
17 doctest.testmod(hgext.convert.cvsps)
General Comments 0
You need to be logged in to leave comments. Login now