test-doctest.py
19 lines
| 436 B
| text/x-python
|
PythonLexer
/ tests / test-doctest.py
|
r7041 | # this is hack to make sure no escape characters are inserted into the output | ||
|
r7078 | import os; | ||
if 'TERM' in os.environ: | ||||
del os.environ['TERM'] | ||||
|
r3232 | import doctest | ||
import mercurial.changelog | ||||
# test doctest from changelog | ||||
doctest.testmod(mercurial.changelog) | ||||
|
r5066 | import mercurial.httprepo | ||
doctest.testmod(mercurial.httprepo) | ||||
|
r5525 | |||
import mercurial.util | ||||
doctest.testmod(mercurial.util) | ||||
|
r7097 | |||
import hgext.convert.cvsps | ||||
doctest.testmod(hgext.convert.cvsps) | ||||