##// END OF EJS Templates
test-doctest: test the modules that contains doctests
test-doctest: test the modules that contains doctests

File last commit:

r12594:bb324910 stable
r12594:bb324910 stable
Show More
test-doctest.py
17 lines | 445 B | text/x-python | PythonLexer
# this is hack to make sure no escape characters are inserted into the output
import os
if 'TERM' in os.environ:
del os.environ['TERM']
import doctest
import mercurial.changelog
doctest.testmod(mercurial.changelog)
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)