##// END OF EJS Templates
tests: unify test-confused-revert
tests: unify test-confused-revert

File last commit:

r12165:b7fbf24c default
r12284:f7eb1903 default
Show More
test-doctest.py
25 lines | 598 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
# test doctest from changelog
doctest.testmod(mercurial.changelog)
import mercurial.httprepo
doctest.testmod(mercurial.httprepo)
import mercurial.util
doctest.testmod(mercurial.util)
import mercurial.match
doctest.testmod(mercurial.match)
import mercurial.dagparser
doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE)
import hgext.convert.cvsps
doctest.testmod(hgext.convert.cvsps)